Package akka.cluster.ddata
Class DistributedData
- java.lang.Object
-
- akka.cluster.ddata.DistributedData
-
- All Implemented Interfaces:
Extension
public class DistributedData extends java.lang.Object implements Extension
Akka extension for convenient configuration and use of theReplicator
. Configuration settings are defined in theakka.cluster.ddata
section, seereference.conf
.
-
-
Constructor Summary
Constructors Constructor Description DistributedData(ExtendedActorSystem system)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static T
apply(ActorSystem system)
static T
apply(ClassicActorSystemProvider system)
static DistributedData
createExtension(ExtendedActorSystem system)
static boolean
equals(java.lang.Object other)
static DistributedData
get(ActorSystem system)
static DistributedData
get(ClassicActorSystemProvider system)
static int
hashCode()
boolean
isTerminated()
Returns true if this member is not tagged with the role configured for the replicas.static DistributedData$
lookup()
ActorRef
replicator()
ActorRef
of theReplicator
.SelfUniqueAddress
selfUniqueAddress()
-
-
-
Constructor Detail
-
DistributedData
public DistributedData(ExtendedActorSystem system)
-
-
Method Detail
-
get
public static DistributedData get(ActorSystem system)
-
get
public static DistributedData get(ClassicActorSystemProvider system)
-
lookup
public static DistributedData$ lookup()
-
createExtension
public static DistributedData createExtension(ExtendedActorSystem system)
-
apply
public static T apply(ActorSystem system)
-
apply
public static T apply(ClassicActorSystemProvider system)
-
hashCode
public static final int hashCode()
-
equals
public static final boolean equals(java.lang.Object other)
-
selfUniqueAddress
public SelfUniqueAddress selfUniqueAddress()
-
replicator
public ActorRef replicator()
ActorRef
of theReplicator
.
-
isTerminated
public boolean isTerminated()
Returns true if this member is not tagged with the role configured for the replicas.
-
-