Click or drag to resize
Akka.NETIShardAllocationStrategy Interface
Interface of the pluggable shard allocation and rebalancing logic used by the PersistentShardCoordinator.

Namespace:  Akka.Cluster.Sharding
Assembly:  Akka.Cluster.Sharding (in Akka.Cluster.Sharding.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public interface IShardAllocationStrategy : INoSerializationVerificationNeeded

The IShardAllocationStrategy type exposes the following members.

Methods
  NameDescription
Public methodAllocateShard
Invoked when the location of a new shard is to be decided.
Public methodRebalance
Invoked periodically to decide which shards to rebalance to another location.
Top
See Also