public class ShardCoordinator$
extends java.lang.Object
ClusterSharding extension
Modifier and Type | Field and Description |
---|---|
static ShardCoordinator$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
ShardCoordinator$() |
Modifier and Type | Method and Description |
---|---|
akka.actor.Props |
props(java.lang.String typeName,
ClusterShardingSettings settings,
ShardCoordinator.ShardAllocationStrategy allocationStrategy)
INTERNAL API
Factory method for the
Props of the ShardCoordinator actor. |
akka.actor.Props |
props(java.lang.String typeName,
ClusterShardingSettings settings,
ShardCoordinator.ShardAllocationStrategy allocationStrategy,
akka.actor.ActorRef replicator)
INTERNAL API
Factory method for the
Props of the ShardCoordinator actor with state based on ddata. |
akka.actor.Props |
rebalanceWorkerProps(java.lang.String shard,
akka.actor.ActorRef from,
scala.concurrent.duration.FiniteDuration handOffTimeout,
scala.collection.immutable.Set<akka.actor.ActorRef> regions) |
public static final ShardCoordinator$ MODULE$
public akka.actor.Props props(java.lang.String typeName, ClusterShardingSettings settings, ShardCoordinator.ShardAllocationStrategy allocationStrategy)
Props
of the ShardCoordinator
actor.typeName
- (undocumented)settings
- (undocumented)allocationStrategy
- (undocumented)public akka.actor.Props props(java.lang.String typeName, ClusterShardingSettings settings, ShardCoordinator.ShardAllocationStrategy allocationStrategy, akka.actor.ActorRef replicator)
Props
of the ShardCoordinator
actor with state based on ddata.typeName
- (undocumented)settings
- (undocumented)allocationStrategy
- (undocumented)replicator
- (undocumented)public akka.actor.Props rebalanceWorkerProps(java.lang.String shard, akka.actor.ActorRef from, scala.concurrent.duration.FiniteDuration handOffTimeout, scala.collection.immutable.Set<akka.actor.ActorRef> regions)