Package akka.cluster.sharding.internal
Class CustomStateStoreModeProvider
- java.lang.Object
-
- akka.cluster.sharding.internal.CustomStateStoreModeProvider
-
- All Implemented Interfaces:
RememberEntitiesProvider
public final class CustomStateStoreModeProvider extends java.lang.Object implements RememberEntitiesProvider
INTERNAL APIOnly intended for testing, not an extension point.
-
-
Constructor Summary
Constructors Constructor Description CustomStateStoreModeProvider(java.lang.String typeName, ActorSystem system, ClusterShardingSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Props
coordinatorStoreProps()
Called once per started shard coordinator to create the remember entities coordinator store.RememberEntitiesProvider
customStore()
Props
shardStoreProps(java.lang.String shardId)
Called once per started shard to create the remember entities shard store
-
-
-
Constructor Detail
-
CustomStateStoreModeProvider
public CustomStateStoreModeProvider(java.lang.String typeName, ActorSystem system, ClusterShardingSettings settings)
-
-
Method Detail
-
coordinatorStoreProps
public Props coordinatorStoreProps()
Description copied from interface:RememberEntitiesProvider
Called once per started shard coordinator to create the remember entities coordinator store.Note that this is not used for the deprecated persistent coordinator which has its own impl for keeping track of remembered shards.
- Specified by:
coordinatorStoreProps
in interfaceRememberEntitiesProvider
- Returns:
- an actor that handles the protocol defined in
RememberEntitiesCoordinatorStore
-
customStore
public RememberEntitiesProvider customStore()
-
shardStoreProps
public Props shardStoreProps(java.lang.String shardId)
Description copied from interface:RememberEntitiesProvider
Called once per started shard to create the remember entities shard store- Specified by:
shardStoreProps
in interfaceRememberEntitiesProvider
- Returns:
- an actor that handles the protocol defined in
RememberEntitiesShardStore
-
-