public class WriteAggregator extends ReadWriteAggregator
ReadWriteAggregator.SendToSecondary$Actor.emptyBehavior$, Actor.ignoringBehavior$| Constructor and Description |
|---|
WriteAggregator(Key<ReplicatedData> key,
akka.cluster.ddata.Replicator.Internal.DataEnvelope envelope,
Replicator.WriteConsistency consistency,
scala.Option<java.lang.Object> req,
scala.collection.immutable.Set<Address> nodes,
ActorRef replyTo,
boolean durable) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
akka$actor$Actor$_setter_$context_$eq(ActorContext x$1) |
protected 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) |
static ActorContext |
context() |
int |
doneWhenRemainingSize() |
boolean |
gotLocalStoreReply() |
scala.collection.immutable.Set<Address> |
gotWriteNackFrom() |
boolean |
isDone() |
scala.collection.immutable.Set<Address> |
nodes() |
boolean |
notEnoughNodes() |
static void |
postRestart(java.lang.Throwable reason) |
static void |
postStop() |
static void |
preRestart(java.lang.Throwable reason,
scala.Option<java.lang.Object> message) |
void |
preStart()
User overridable callback.
|
static scala.collection.immutable.Iterable<Address> |
primaryNodes() |
static Props |
props(Key<ReplicatedData> key,
akka.cluster.ddata.Replicator.Internal.DataEnvelope envelope,
Replicator.WriteConsistency consistency,
scala.Option<java.lang.Object> req,
scala.collection.immutable.Set<Address> nodes,
ActorRef replyTo,
boolean durable) |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive()
This defines the initial actor behavior, it must return a partial function
with the actor logic.
|
static void |
remaining_$eq(scala.collection.immutable.Set<Address> x$1) |
static scala.collection.immutable.Set<Address> |
remaining() |
static ActorSelection |
replica(Address address) |
void |
reply(boolean isTimeout) |
static scala.collection.immutable.Iterable<Address> |
secondaryNodes() |
static ActorRef |
self() |
static ActorRef |
sender() |
Address |
senderAddress() |
static void |
sendToSecondarySchedule_$eq(Cancellable x$1) |
static Cancellable |
sendToSecondarySchedule() |
static SupervisorStrategy |
supervisorStrategy() |
scala.concurrent.duration.FiniteDuration |
timeout() |
static void |
timeoutSchedule_$eq(Cancellable x$1) |
static Cancellable |
timeoutSchedule() |
static void |
unhandled(java.lang.Object message) |
akka.cluster.ddata.Replicator.Internal.Write |
writeMsg() |
context, MaxSecondaryNodes, postStop, primaryNodes, remaining, replica, secondaryNodes, self, sendToSecondarySchedule, timeoutScheduleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, preRestart, sender, supervisorStrategy, unhandledpublic WriteAggregator(Key<ReplicatedData> key, akka.cluster.ddata.Replicator.Internal.DataEnvelope envelope, Replicator.WriteConsistency consistency, scala.Option<java.lang.Object> req, scala.collection.immutable.Set<Address> nodes, ActorRef replyTo, boolean durable)
public static Props props(Key<ReplicatedData> key, akka.cluster.ddata.Replicator.Internal.DataEnvelope envelope, Replicator.WriteConsistency consistency, scala.Option<java.lang.Object> req, scala.collection.immutable.Set<Address> nodes, ActorRef replyTo, boolean durable)
public static final ActorRef sender()
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 preRestart(java.lang.Throwable reason,
scala.Option<java.lang.Object> message)
throws java.lang.Exception
java.lang.Exceptionpublic static void postRestart(java.lang.Throwable reason)
throws java.lang.Exception
java.lang.Exceptionpublic static void unhandled(java.lang.Object message)
public static Cancellable sendToSecondarySchedule()
public static void sendToSecondarySchedule_$eq(Cancellable x$1)
public static Cancellable timeoutSchedule()
public static void timeoutSchedule_$eq(Cancellable x$1)
public static scala.collection.immutable.Set<Address> remaining()
public static void remaining_$eq(scala.collection.immutable.Set<Address> x$1)
public static scala.collection.immutable.Iterable<Address> primaryNodes()
public static scala.collection.immutable.Iterable<Address> secondaryNodes()
public static void postStop()
public static ActorSelection replica(Address address)
public static ActorContext context()
public static final ActorRef self()
protected static void akka$actor$Actor$_setter_$context_$eq(ActorContext x$1)
protected static final void akka$actor$Actor$_setter_$self_$eq(ActorRef x$1)
public scala.collection.immutable.Set<Address> nodes()
nodes in class ReadWriteAggregatorpublic scala.concurrent.duration.FiniteDuration timeout()
timeout in class ReadWriteAggregatorpublic int doneWhenRemainingSize()
doneWhenRemainingSize in class ReadWriteAggregatorpublic akka.cluster.ddata.Replicator.Internal.Write writeMsg()
public boolean gotLocalStoreReply()
public scala.collection.immutable.Set<Address> gotWriteNackFrom()
public void preStart()
ActorpreStart in interface ActorpreStart in class ReadWriteAggregatorpublic scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actorreceive in interface Actorreceive in class ReadWriteAggregatorpublic Address senderAddress()
public boolean isDone()
public boolean notEnoughNodes()
public void reply(boolean isTimeout)