public abstract class ReadWriteAggregator extends java.lang.Object implements Actor
Modifier and Type | Class and Description |
---|---|
static class |
ReadWriteAggregator.SendToSecondary$ |
Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
ReadWriteAggregator() |
Modifier and Type | Method and Description |
---|---|
protected abstract static void |
akka$actor$Actor$_setter_$context_$eq(ActorContext x$1) |
protected abstract static void |
akka$actor$Actor$_setter_$self_$eq(ActorRef x$1) |
protected static void |
aroundPostRestart(java.lang.Throwable reason) |
protected static void |
aroundPostStop() |
protected static void |
aroundPreRestart(java.lang.Throwable reason,
scala.Option<java.lang.Object> message) |
protected static void |
aroundPreStart() |
protected static void |
aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive,
java.lang.Object msg) |
ActorContext |
context()
Stores the context for this actor, including self, and sender.
|
abstract int |
doneWhenRemainingSize() |
static int |
MaxSecondaryNodes() |
abstract scala.collection.immutable.Set<Address> |
nodes() |
static void |
postRestart(java.lang.Throwable reason) |
void |
postStop()
User overridable callback.
|
static void |
preRestart(java.lang.Throwable reason,
scala.Option<java.lang.Object> message) |
static void |
preStart() |
scala.collection.immutable.Iterable<Address> |
primaryNodes() |
abstract static scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive() |
scala.collection.immutable.Set<Address> |
remaining() |
ActorSelection |
replica(Address address) |
scala.collection.immutable.Iterable<Address> |
secondaryNodes() |
ActorRef |
self()
The 'self' field holds the ActorRef for this actor.
|
static ActorRef |
sender() |
Cancellable |
sendToSecondarySchedule() |
static SupervisorStrategy |
supervisorStrategy() |
abstract scala.concurrent.duration.FiniteDuration |
timeout() |
Cancellable |
timeoutSchedule() |
static void |
unhandled(java.lang.Object message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, preRestart, preStart, receive, sender, supervisorStrategy, unhandled
public static int MaxSecondaryNodes()
public static final ActorRef sender()
public abstract static scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
protected static void aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)
protected static void aroundPreStart()
protected static void aroundPostStop()
protected static void aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)
protected static void aroundPostRestart(java.lang.Throwable reason)
public static SupervisorStrategy supervisorStrategy()
public static void preStart() throws java.lang.Exception
java.lang.Exception
public static void preRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message) throws java.lang.Exception
java.lang.Exception
public static void postRestart(java.lang.Throwable reason) throws java.lang.Exception
java.lang.Exception
public static void unhandled(java.lang.Object message)
protected abstract static void akka$actor$Actor$_setter_$context_$eq(ActorContext x$1)
protected abstract static void akka$actor$Actor$_setter_$self_$eq(ActorRef x$1)
public ActorContext context()
Actor
forward
.
WARNING: Only valid within the Actor itself, so do not close over it and publish it to other threads!
ActorContext
is the Scala API. getContext
returns a
UntypedActorContext
, which is the Java API of the actor
context.
public final ActorRef self()
Actor
self ! message
public abstract scala.concurrent.duration.FiniteDuration timeout()
public abstract scala.collection.immutable.Set<Address> nodes()
public Cancellable sendToSecondarySchedule()
public Cancellable timeoutSchedule()
public scala.collection.immutable.Set<Address> remaining()
public abstract int doneWhenRemainingSize()
public scala.collection.immutable.Iterable<Address> primaryNodes()
public scala.collection.immutable.Iterable<Address> secondaryNodes()
public void postStop()
Actor
public ActorSelection replica(Address address)