- All Superinterfaces:
- All Known Implementing Classes:
- Enclosing class:
public static interface ShardCoordinator.StartableAllocationStrategy extends ShardCoordinator.ShardAllocationStrategyShard allocation strategy where start is called by the shard coordinator before any calls to rebalance or allocate shard. This can be used if there is any expensive initialization to be done that you do not want to to in the constructor as it will happen on every node rather than just the node that hosts the ShardCoordinator
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
start()Called before any calls to allocate/rebalance.
Methods inherited from interface akka.cluster.sharding.ShardCoordinator.ShardAllocationStrategy