Interface ShardCoordinator.ActorSystemDependentAllocationStrategy

All Superinterfaces:
NoSerializationVerificationNeeded, ShardCoordinator.ShardAllocationStrategy
Enclosing class:
ShardCoordinator

public static interface ShardCoordinator.ActorSystemDependentAllocationStrategy extends ShardCoordinator.ShardAllocationStrategy
Shard allocation strategy where start is called by the shard coordinator before any calls to rebalance or allocate shard. This is much like the ShardCoordinator.StartableAllocationStrategy but will get access to the actor system when started, for example to interact with extensions.

INTERNAL API

  • Method Details

    • start

      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.