Package akka.cluster.sharding
Class ShardRegion$
- java.lang.Object
-
- akka.cluster.sharding.ShardRegion$
-
public class ShardRegion$ extends java.lang.Object
INTERNAL API Factory method for theProps
of theShardRegion
actor.
-
-
Field Summary
Fields Modifier and Type Field Description static ShardRegion$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ShardRegion$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardRegion.GetCurrentRegions$
getCurrentRegionsInstance()
ShardRegion.GetShardRegionStats$
getRegionStatsInstance()
ShardRegion.GetShardRegionState$
getShardRegionStateInstance()
ShardRegion.GracefulShutdown$
gracefulShutdownInstance()
Props
handOffStopperProps(java.lang.String shard, ActorRef replyTo, scala.collection.immutable.Set<ActorRef> entities, java.lang.Object stopMessage, scala.concurrent.duration.FiniteDuration handoffTimeout)
Props
props(java.lang.String typeName, scala.Function1<java.lang.String,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, ActorRef replicator, int majorityMinCap)
Props
proxyProps(java.lang.String typeName, scala.Option<java.lang.String> dataCenter, 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, ActorRef replicator, int majorityMinCap)
INTERNAL API Factory method for theProps
of theShardRegion
actor when using it in proxy only mode.
-
-
-
Field Detail
-
MODULE$
public static final ShardRegion$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
props
public Props props(java.lang.String typeName, scala.Function1<java.lang.String,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, ActorRef replicator, int majorityMinCap)
-
proxyProps
public Props proxyProps(java.lang.String typeName, scala.Option<java.lang.String> dataCenter, 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, ActorRef replicator, int majorityMinCap)
INTERNAL API Factory method for theProps
of theShardRegion
actor when using it in proxy only mode.- Parameters:
typeName
- (undocumented)dataCenter
- (undocumented)settings
- (undocumented)coordinatorPath
- (undocumented)extractEntityId
- (undocumented)extractShardId
- (undocumented)replicator
- (undocumented)majorityMinCap
- (undocumented)- Returns:
- (undocumented)
-
gracefulShutdownInstance
public ShardRegion.GracefulShutdown$ gracefulShutdownInstance()
-
getCurrentRegionsInstance
public ShardRegion.GetCurrentRegions$ getCurrentRegionsInstance()
-
getRegionStatsInstance
public ShardRegion.GetShardRegionStats$ getRegionStatsInstance()
-
getShardRegionStateInstance
public ShardRegion.GetShardRegionState$ getShardRegionStateInstance()
-
-