public final class GridDhtGetFuture<K,V> extends GridCompoundIdentityFuture<Collection<GridCacheEntryInfo>> implements GridDhtFuture<Collection<GridCacheEntryInfo>>
AbstractQueuedSynchronizer.ConditionObject| Constructor and Description |
|---|
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
LinkedHashMap<KeyCacheObject,Boolean> keys,
boolean readThrough,
boolean reload,
IgniteTxLocalEx tx,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
| Modifier and Type | Method and Description |
|---|---|
IgniteUuid |
futureId() |
Collection<Integer> |
invalidPartitions()
Node that future should be able to provide keys to retry before
it completes, so it's not necessary to wait till future is done
to get retry keys.
|
boolean |
onDone(Collection<GridCacheEntryInfo> res,
Throwable err)
Callback to notify that future is finished.
|
GridCacheVersion |
version() |
toStringadd, addAll, addAll, cancel, futures, hasPending, ignoreChildFailures, initialized, markInitialized, pending, reducer, reducerchain, duration, endTime, error, get, get, get, get0, isCancelled, isDone, isFailed, listen, onCancelled, onDone, onDone, onDone, result, startTime, tryAcquireShared, tryReleaseSharedacquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedPredecessors, hasQueuedThreads, hasWaiters, isHeldExclusively, isQueued, owns, release, releaseShared, setState, tryAcquire, tryAcquireNanos, tryAcquireSharedNanos, tryReleasegetExclusiveOwnerThread, setExclusiveOwnerThreadpublic GridDhtGetFuture(GridCacheContext<K,V> cctx, long msgId, UUID reader, LinkedHashMap<KeyCacheObject,Boolean> keys, boolean readThrough, boolean reload, @Nullable IgniteTxLocalEx tx, @NotNull AffinityTopologyVersion topVer, @Nullable UUID subjId, int taskNameHash, @Nullable IgniteCacheExpiryPolicy expiryPlc, boolean skipVals)
cctx - Context.msgId - Message ID.reader - Reader.keys - Keys.readThrough - Read through flag.reload - Reload flag.tx - Transaction.topVer - Topology version.subjId - Subject ID.taskNameHash - Task name hash code.expiryPlc - Expiry policy.skipVals - Skip values flag.public Collection<Integer> invalidPartitions()
invalidPartitions in interface GridDhtFuture<Collection<GridCacheEntryInfo>>public IgniteUuid futureId()
public GridCacheVersion version()
public boolean onDone(Collection<GridCacheEntryInfo> res, Throwable err)
null exception is passed in
the result value will be ignored.onDone in class GridFutureAdapter<Collection<GridCacheEntryInfo>>res - Optional result.err - Optional error.True if result was set by this call.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015