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 supplyMsg)
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 supplyMsg)
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.supplyMsg - Supply message.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019