| Interface | Description |
|---|---|
| GatewayAllocator |
The gateway allocator allows for a pluggable control of the gateway to allocate unassigned shards.
|
| ShardsAllocator |
A
ShardsAllocator is the main entry point for shard allocation on nodes in the cluster. |
| Class | Description |
|---|---|
| BalancedShardsAllocator |
The
BalancedShardsAllocator re-balances the nodes allocations
within an cluster based on a BalancedShardsAllocator.WeightFunction. |
| BalancedShardsAllocator.Balancer | |
| BalancedShardsAllocator.WeightFunction |
This class is the primary weight function used to create balanced over nodes and shards in the cluster.
|
| EvenShardsCountAllocator |
A
ShardsAllocator that tries to balance shards across nodes in the
cluster such that each node holds approximatly the same number of shards. |
| ShardsAllocatorModule | |
| ShardsAllocators |
The
ShardsAllocator class offers methods for allocating shard within a cluster. |
| Enum | Description |
|---|---|
| BalancedShardsAllocator.Operation |
An enum that donates the actual operation the
BalancedShardsAllocator.WeightFunction is
applied to. |
Copyright © 2009–2016. All rights reserved.