Package akka.cluster.sharding
Class ShardRegion$
- java.lang.Object
-
- akka.cluster.sharding.ShardRegion$
-
public class ShardRegion$ extends java.lang.Object
- See Also:
ClusterSharding extension
-
-
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 akka.cluster.sharding.ShardRegion.GetCurrentRegions$
getCurrentRegionsInstance()
Java API: Send this message to theShardRegion
actor to request forCurrentRegions
, which contains the addresses of all registered regions.akka.cluster.sharding.ShardRegion.GetShardRegionStats$
getRegionStatsInstance()
Java API:akka.cluster.sharding.ShardRegion.GetShardRegionState$
getShardRegionStateInstance()
Java API:akka.cluster.sharding.ShardRegion.GracefulShutdown$
gracefulShutdownInstance()
Java API: Send this message to theShardRegion
actor to handoff all shards that are hosted by theShardRegion
and then theShardRegion
actor will be stopped.
-
-
-
Field Detail
-
MODULE$
public static final ShardRegion$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
gracefulShutdownInstance
public akka.cluster.sharding.ShardRegion.GracefulShutdown$ gracefulShutdownInstance()
Java API: Send this message to theShardRegion
actor to handoff all shards that are hosted by theShardRegion
and then theShardRegion
actor will be stopped. You canwatch
it to know when it is completed.
-
getCurrentRegionsInstance
public akka.cluster.sharding.ShardRegion.GetCurrentRegions$ getCurrentRegionsInstance()
Java API: Send this message to theShardRegion
actor to request forCurrentRegions
, which contains the addresses of all registered regions.Intended for testing purpose to see when cluster sharding is "ready" or to monitor the state of the shard regions.
-
getRegionStatsInstance
public akka.cluster.sharding.ShardRegion.GetShardRegionStats$ getRegionStatsInstance()
Java API:
-
getShardRegionStateInstance
public akka.cluster.sharding.ShardRegion.GetShardRegionState$ getShardRegionStateInstance()
Java API:
-
-