public interface GridDhtTopologyFuture extends IgniteInternalFuture<AffinityTopologyVersion>
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
topologyVersion()
Gets topology version of this future.
|
Throwable |
validateCache(GridCacheContext cctx,
boolean recovery,
boolean read,
Object key,
Collection<?> keys)
Returns error is cache topology is not valid.
|
cancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultAffinityTopologyVersion topologyVersion()
@Nullable Throwable validateCache(GridCacheContext cctx, boolean recovery, boolean read, @Nullable Object key, @Nullable Collection<?> keys)
cctx - 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.1.0 Release Date : July 20 2017