public abstract class GridDhtTopologyFutureAdapter extends GridFutureAdapter<AffinityTopologyVersion> implements GridDhtTopologyFuture
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GridDhtTopologyFutureAdapter.CacheValidation
Cache validation result.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,GridDhtTopologyFutureAdapter.CacheValidation> |
grpValidRes
Cache groups validation results.
|
| Constructor and Description |
|---|
GridDhtTopologyFutureAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
validateCache(GridCacheContext cctx,
boolean recovery,
boolean read,
Object key,
Collection<?> keys)
Returns error is cache topology is not valid.
|
protected GridDhtTopologyFutureAdapter.CacheValidation |
validateCacheGroup(CacheGroupContext grp,
Collection<ClusterNode> topNodes) |
cancel, chain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, onDone, reset, result, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexchangeDone, initialVersion, topologyVersioncancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultprotected volatile Map<Integer,GridDhtTopologyFutureAdapter.CacheValidation> grpValidRes
protected final GridDhtTopologyFutureAdapter.CacheValidation validateCacheGroup(CacheGroupContext grp, Collection<ClusterNode> topNodes)
grp - Cache group.topNodes - Topology nodes.@Nullable public final Throwable validateCache(GridCacheContext cctx, boolean recovery, boolean read, @Nullable Object key, @Nullable Collection<?> keys)
validateCache in interface GridDhtTopologyFuturecctx - Cache context.recovery - True if cache operation is done in recovery mode. Then it will only check
for cache active state and topology validator result.read - True if validating read operation, false if validating write.key - Key (optimization to avoid collection creation).keys - Keys involved in a cache operation.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018