public class GridDhtPartitionDemander extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GridDhtPartitionDemander.RebalanceFuture |
| Constructor and Description |
|---|
GridDhtPartitionDemander(CacheGroupContext grp) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleSupplyMessage(int topicId,
UUID nodeId,
GridDhtPartitionSupplyMessage supply)
Handles supply message from
nodeId with specified topicId. |
String |
toString() |
public GridDhtPartitionDemander(CacheGroupContext grp)
grp - Ccahe group.public void handleSupplyMessage(int topicId,
UUID nodeId,
GridDhtPartitionSupplyMessage supply)
nodeId with specified topicId.
Supply message contains entries to populate rebalancing partitions.
There is a cyclic process:
Populate rebalancing partitions with entries from Supply message.
If not all partitions specified in rebalanceFut were rebalanced or marked as missed
send new Demand message to request next batch of entries.topicId - Topic id.nodeId - Node id.supply - Supply message.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018