public class GridDhtPartitionSupplier extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
handleDemandMessage(int topicId,
UUID nodeId,
GridDhtPartitionDemandMessage demandMsg)
For each demand message method lookups (or creates new) supply context and starts to iterate entries across requested partitions.
|
boolean |
isSupply()
Check is cache having any active context for supply.
|
public boolean isSupply()
public void handleDemandMessage(int topicId,
UUID nodeId,
GridDhtPartitionDemandMessage demandMsg)
IgniteConfiguration.getRebalanceBatchSize()
method sends this message to demand node and saves partial state of iterated entries to supply context,
then restores the context again after new demand message with the same context id is arrived.topicId - Id of the topic is used for the supply-demand communication.nodeId - Id of the node which sent the demand message.demandMsg - Demand message.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021