public class DDataShardCoordinator extends ShardCoordinator implements Stash
ClusterSharding extension
ShardCoordinator.AbstractShardAllocationStrategy, ShardCoordinator.Internal$, ShardCoordinator.LeastShardAllocationStrategy, ShardCoordinator.RebalanceWorker, ShardCoordinator.ShardAllocationStrategy
Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
DDataShardCoordinator(java.lang.String typeName,
ClusterShardingSettings settings,
ShardCoordinator.ShardAllocationStrategy allocationStrategy,
ActorRef replicator) |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
LWWRegisterKey<akka.cluster.sharding.ShardCoordinator.Internal.State> |
CoordinatorStateKey() |
void |
getState() |
akka.cluster.sharding.ShardCoordinator.Internal.State |
initEmptyState() |
DequeBasedMessageQueueSemantics |
mailbox() |
Cluster |
node() |
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.
|
void |
sendUpdate(akka.cluster.sharding.ShardCoordinator.Internal.DomainEvent evt) |
<E extends akka.cluster.sharding.ShardCoordinator.Internal.DomainEvent> |
update(E evt,
scala.Function1<E,scala.runtime.BoxedUnit> f) |
scala.concurrent.duration.FiniteDuration |
updatingStateTimeout() |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
waitingForState() |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
waitingForStateInitialized() |
scala.concurrent.duration.FiniteDuration |
waitingForStateTimeout() |
<E extends akka.cluster.sharding.ShardCoordinator.Internal.DomainEvent> |
waitingForUpdate(E evt,
scala.Function1<akka.cluster.sharding.ShardCoordinator.Internal.DomainEvent,scala.runtime.BoxedUnit> afterUpdateCallback) |
active, akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, akka$actor$ActorLogging$$_log_$eq, akka$actor$ActorLogging$$_log, aliveRegions, allocateShardHomesForRememberEntities, allRegionsRegistered, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, cluster, context, continueGetShardHome, continueRebalance, gracefulShutdownInProgress, hasAllRegionsRegistered, isMember, log, minMembers, postRestart, postStop, preRestart, preStart, props, props, rebalanceInProgress, rebalanceTask, rebalanceWorkerProps, receiveTerminated, regionProxyTerminated, regionTerminated, regionTerminationInProgress, removalMargin, self, sender, sendHostShardMsg, shuttingDown, state, stateInitialized, supervisorStrategy, unAckedHostShards, unhandled, watchStateActors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postStop, preRestart
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preStart, self, sender, supervisorStrategy, unhandled
actorCell, clearStash, context, enqueueFirst, prepend, self, stash, unstash, unstashAll, unstashAll
log
public DDataShardCoordinator(java.lang.String typeName, ClusterShardingSettings settings, ShardCoordinator.ShardAllocationStrategy allocationStrategy, ActorRef replicator)
public DequeBasedMessageQueueSemantics mailbox()
mailbox
in interface StashSupport
public scala.concurrent.duration.FiniteDuration waitingForStateTimeout()
public scala.concurrent.duration.FiniteDuration updatingStateTimeout()
public Cluster node()
public LWWRegisterKey<akka.cluster.sharding.ShardCoordinator.Internal.State> CoordinatorStateKey()
public akka.cluster.sharding.ShardCoordinator.Internal.State initEmptyState()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor
receive
in interface Actor
receive
in class ShardCoordinator
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> waitingForState()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> waitingForStateInitialized()
public <E extends akka.cluster.sharding.ShardCoordinator.Internal.DomainEvent> scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> waitingForUpdate(E evt, scala.Function1<akka.cluster.sharding.ShardCoordinator.Internal.DomainEvent,scala.runtime.BoxedUnit> afterUpdateCallback)
public void activate()
public <E extends akka.cluster.sharding.ShardCoordinator.Internal.DomainEvent> void update(E evt, scala.Function1<E,scala.runtime.BoxedUnit> f)
update
in class ShardCoordinator
public void getState()
public void sendUpdate(akka.cluster.sharding.ShardCoordinator.Internal.DomainEvent evt)