- All Known Implementing Classes:
- Enclosing class:
public static interface ShardCoordinator.ActorSystemDependentAllocationStrategy extends ShardCoordinator.ShardAllocationStrategyShard allocation strategy where start is called by the shard coordinator before any calls to rebalance or allocate shard. This is much like the
ShardCoordinator.StartableAllocationStrategybut will get access to the actor system when started, for example to interact with extensions.
void start(ActorSystem system)Called before any calls to allocate/rebalance. Do not block. If asynchronous actions are required they can be started here and delay the Futures returned by allocate/rebalance.