public class ShardRegion$
extends java.lang.Object
ClusterSharding extension
Modifier and Type | Field and Description |
---|---|
static ShardRegion$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
ShardRegion$() |
Modifier and Type | Method and Description |
---|---|
ShardRegion.GetCurrentRegions$ |
getCurrentRegionsInstance()
Java API:
|
ShardRegion.GetShardRegionStats$ |
getRegionStatsInstance()
Java API:
|
ShardRegion.GetShardRegionState$ |
getShardRegionStateInstance()
Java API:
|
ShardRegion.GracefulShutdown$ |
gracefulShutdownInstance()
Java API: Send this message to the
ShardRegion actor to handoff all shards that are hosted by
the ShardRegion and then the ShardRegion actor will be stopped. |
Props |
handOffStopperProps(java.lang.String shard,
ActorRef replyTo,
scala.collection.immutable.Set<ActorRef> entities,
java.lang.Object stopMessage) |
Props |
props(java.lang.String typeName,
Props entityProps,
ClusterShardingSettings settings,
java.lang.String coordinatorPath,
scala.PartialFunction<java.lang.Object,scala.Tuple2<java.lang.String,java.lang.Object>> extractEntityId,
scala.Function1<java.lang.Object,java.lang.String> extractShardId,
java.lang.Object handOffStopMessage)
INTERNAL API
Factory method for the
Props of the ShardRegion actor. |
Props |
proxyProps(java.lang.String typeName,
ClusterShardingSettings settings,
java.lang.String coordinatorPath,
scala.PartialFunction<java.lang.Object,scala.Tuple2<java.lang.String,java.lang.Object>> extractEntityId,
scala.Function1<java.lang.Object,java.lang.String> extractShardId)
INTERNAL API
Factory method for the
Props of the ShardRegion actor
when using it in proxy only mode. |
public static final ShardRegion$ MODULE$
public Props props(java.lang.String typeName, Props entityProps, ClusterShardingSettings settings, java.lang.String coordinatorPath, scala.PartialFunction<java.lang.Object,scala.Tuple2<java.lang.String,java.lang.Object>> extractEntityId, scala.Function1<java.lang.Object,java.lang.String> extractShardId, java.lang.Object handOffStopMessage)
Props
of the ShardRegion
actor.typeName
- (undocumented)entityProps
- (undocumented)settings
- (undocumented)coordinatorPath
- (undocumented)extractEntityId
- (undocumented)extractShardId
- (undocumented)handOffStopMessage
- (undocumented)public Props proxyProps(java.lang.String typeName, ClusterShardingSettings settings, java.lang.String coordinatorPath, scala.PartialFunction<java.lang.Object,scala.Tuple2<java.lang.String,java.lang.Object>> extractEntityId, scala.Function1<java.lang.Object,java.lang.String> extractShardId)
Props
of the ShardRegion
actor
when using it in proxy only mode.typeName
- (undocumented)settings
- (undocumented)coordinatorPath
- (undocumented)extractEntityId
- (undocumented)extractShardId
- (undocumented)public ShardRegion.GracefulShutdown$ gracefulShutdownInstance()
ShardRegion
actor to handoff all shards that are hosted by
the ShardRegion
and then the ShardRegion
actor will be stopped. You can watch
it to know when it is completed.public ShardRegion.GetCurrentRegions$ getCurrentRegionsInstance()
public ShardRegion.GetShardRegionStats$ getRegionStatsInstance()
public ShardRegion.GetShardRegionState$ getShardRegionStateInstance()