Class Replicator$
- java.lang.Object
-
- org.apache.pekko.cluster.ddata.typed.javadsl.Replicator$
-
public class Replicator$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Replicator$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Replicator$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Behavior<Replicator.Command>behavior(ReplicatorSettings settings)TheBehaviorfor theReplicatoractor.Behavior<Replicator.Command>behavior(ReplicatorSettings settings, ActorRef underlyingReplicator)TheBehaviorfor theReplicatoractor.Replicator.CommandflushChanges()TheFlushChangesinstance.Replicator.ReadConsistencyreadLocal()TheReadLocalinstanceReplicator.WriteConsistencywriteLocal()TheWriteLocalinstance
-
-
-
Field Detail
-
MODULE$
public static final Replicator$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
behavior
public Behavior<Replicator.Command> behavior(ReplicatorSettings settings)
TheBehaviorfor theReplicatoractor.
-
behavior
public Behavior<Replicator.Command> behavior(ReplicatorSettings settings, ActorRef underlyingReplicator)
TheBehaviorfor theReplicatoractor. It will use the given underlyingpekko.cluster.ddata.Replicator
-
readLocal
public Replicator.ReadConsistency readLocal()
TheReadLocalinstance
-
writeLocal
public Replicator.WriteConsistency writeLocal()
TheWriteLocalinstance
-
flushChanges
public Replicator.Command flushChanges()
TheFlushChangesinstance. Notify subscribers of changes now, otherwise they will be notified periodically with the configurednotify-subscribers-interval.
-
-