Interface IActorSystemDependentAllocationStrategy
Shard allocation strategy where start is called by the shard coordinator before any calls to rebalance or allocate shard. This is much like the [[StartableAllocationStrategy]] but will get access to the actor system when started, for example to interact with extensions.
Inherited Members
Namespace: Akka.Cluster.Sharding
Assembly: Akka.Cluster.Sharding.dll
Syntax
public interface IActorSystemDependentAllocationStrategy : IShardAllocationStrategy, INoSerializationVerificationNeeded
Methods
| Improve this Doc View SourceStart(ActorSystem)
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.
Declaration
void Start(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | system |