public final class GridDhtGetFuture<K,V> extends GridCompoundIdentityFuture<Collection<GridCacheEntryInfo<K,V>>> implements GridDhtFuture<Collection<GridCacheEntryInfo<K,V>>>
AbstractQueuedSynchronizer.ConditionObjectctx| Constructor and Description |
|---|
GridDhtGetFuture()
Empty constructor required for
Externalizable. |
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
LinkedHashMap<? extends K,Boolean> keys,
boolean readThrough,
boolean reload,
IgniteTxLocalEx<K,V> tx,
long topVer,
UUID subjId,
int taskNameHash,
boolean deserializePortable,
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<K,V>> res,
Throwable err)
Callback to notify that future is finished.
|
GridCacheVersion |
version() |
toStringadd, addAll, addAll, cancel, futures, hasPending, ignoreChildFailures, initialized, markInitialized, pending, reducer, reducerchain, checkValid, concurrentNotify, concurrentNotify, duration, endTime, error, get, get, get, get0, isCancelled, isDone, isFailed, isValid, listenAsync, onCancelled, onDone, onDone, onDone, readExternal, result, startTime, stopListenAsync, syncNotify, syncNotify, tryAcquireShared, tryReleaseShared, writeExternalacquire, 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, setExclusiveOwnerThreadclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcancel, chain, concurrentNotify, concurrentNotify, duration, get, get, get, isCancelled, isDone, listenAsync, startTime, stopListenAsync, syncNotify, syncNotifypublic GridDhtGetFuture()
Externalizable.public GridDhtGetFuture(GridCacheContext<K,V> cctx, long msgId, UUID reader, LinkedHashMap<? extends K,Boolean> keys, boolean readThrough, boolean reload, @Nullable IgniteTxLocalEx<K,V> tx, long topVer, @Nullable UUID subjId, int taskNameHash, boolean deserializePortable, @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.deserializePortable - Deserialize portable flag.expiryPlc - Expiry policy.skipVals - Skip values flag.public Collection<Integer> invalidPartitions()
invalidPartitions in interface GridDhtFuture<Collection<GridCacheEntryInfo<K,V>>>public IgniteUuid futureId()
public GridCacheVersion version()
public boolean onDone(Collection<GridCacheEntryInfo<K,V>> res, Throwable err)
null exception is passed in
the result value will be ignored.onDone in class GridFutureAdapter<Collection<GridCacheEntryInfo<K,V>>>res - Optional result.err - Optional error.True if result was set by this call.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015