ExternalShardAllocationClient
API May Change
Not for user extension
Value members
Abstract methods
Get all the current shard locations that have been set via setShardLocation
Get all the current shard locations that have been set via setShardLocation
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.
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.
- Value parameters:
- location
Location (akka node) to allocate the shard to
- shard
The shard identifier
- Returns:
Conformation that the update has been written to the local node
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 written to the local node