Class Replicator
- java.lang.Object
-
- akka.cluster.ddata.typed.scaladsl.Replicator
-
public class Replicator extends java.lang.ObjectTheBehaviorfor theReplicatoractor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReplicator.Changed$static interfaceReplicator.Commandstatic classReplicator.Delete<A extends ReplicatedData>static classReplicator.Delete$Convenience forask.static classReplicator.FlushChanges$Notify subscribers of changes now, otherwise they will be notified periodically with the configurednotify-subscribers-interval.static classReplicator.Get<A extends ReplicatedData>static classReplicator.Get$static classReplicator.GetReplicaCountstatic classReplicator.GetReplicaCount$Convenience forask.static classReplicator.GetSuccess$static classReplicator.Subscribe<A extends ReplicatedData>Register a subscriber that will be notified with aChangedmessage when the value of the givenkeyis changed.static classReplicator.Subscribe$static classReplicator.Unsubscribe<A extends ReplicatedData>static classReplicator.Unsubscribe$static classReplicator.Update<A extends ReplicatedData>static classReplicator.Update$Modify value of localReplicatorand replicate with givenwriteConsistency.
-
Constructor Summary
Constructors Constructor Description Replicator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Behavior<Replicator.Command>behavior(ReplicatorSettings settings)static Behavior<Replicator.Command>behavior(ReplicatorSettings settings, ActorRef underlyingReplicator)TheBehaviorfor theReplicatoractor.static Replicator.ReadLocal$ReadLocal()static Replicator.WriteLocal$WriteLocal()
-
-
-
Method Detail
-
behavior
public static Behavior<Replicator.Command> behavior(ReplicatorSettings settings)
-
behavior
public static Behavior<Replicator.Command> behavior(ReplicatorSettings settings, ActorRef underlyingReplicator)
- Parameters:
settings- (undocumented)underlyingReplicator- (undocumented)- Returns:
- (undocumented)
-
ReadLocal
public static Replicator.ReadLocal$ ReadLocal()
-
WriteLocal
public static Replicator.WriteLocal$ WriteLocal()
-
-