public class GridDhtPartitionsStateValidator extends Object
| Constructor and Description |
|---|
GridDhtPartitionsStateValidator(GridCacheSharedContext<?,?> cctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validatePartitionCountersAndSizes(GridDhtPartitionsExchangeFuture fut,
GridDhtPartitionTopology top,
Map<UUID,GridDhtPartitionsSingleMessage> messages)
Validates partition states - update counters and cache sizes for all nodes.
|
public GridDhtPartitionsStateValidator(GridCacheSharedContext<?,?> cctx)
cctx - Cache shared context.public void validatePartitionCountersAndSizes(GridDhtPartitionsExchangeFuture fut, GridDhtPartitionTopology top, Map<UUID,GridDhtPartitionsSingleMessage> messages) throws IgniteCheckedException
fut - Current exchange future.top - Topology to validate.messages - Single messages received from all nodes.IgniteCheckedException - If validation failed. Exception message contains
full information about all partitions which update counters or cache sizes are not consistent.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018