ExternalShardAllocationClient
API May Change
Not for user extension
Value members
Abstract methods
Get all the current shard locations that have been set via updateShardLocation
Get all the current shard locations that have been set via updateShardLocation
Update the given shard's location. The Address should match one of the nodes in the cluster. If the node has not joined the cluster yet it will be moved to that node after the first cluster sharding rebalance it does.
Update the given shard's location. The Address should match one of the nodes in the cluster. If the node has not joined the cluster yet it will be moved to that node after the first cluster sharding rebalance it does.
- Value parameters:
- location
Location (akka node) to allocate the shard to
- shard
The shard identifier
- Returns:
Confirmation that the update has been propagated to a majority of cluster nodes
Update all of the provided ShardLocations. The Address should match one of the nodes in the cluster. If the node has not joined the cluster yet it will be moved to that node after the first cluster sharding rebalance it does.
Update all of the provided ShardLocations. The Address should match one of the nodes in the cluster. If the node has not joined the cluster yet it will be moved to that node after the first cluster sharding rebalance it does.
- Value parameters:
- locations
to update
- Returns:
Confirmation that the update has been propagates to a majority of cluster nodes