public class GridDhtAssignmentFetchFuture<K,V> extends GridFutureAdapter<List<List<ClusterNode>>>
AbstractQueuedSynchronizer.ConditionObjectlog| Constructor and Description |
|---|
GridDhtAssignmentFetchFuture(GridCacheContext<K,V> ctx,
long topVer,
Collection<ClusterNode> availableNodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initializes fetch future.
|
boolean |
onDone(List<List<ClusterNode>> res,
Throwable err)
Callback to notify that future is finished.
|
void |
onNodeLeft(UUID leftNodeId) |
void |
onResponse(ClusterNode node,
GridDhtAffinityAssignmentResponse<K,V> res) |
cancel, chain, 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, toString, 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, setExclusiveOwnerThreadpublic GridDhtAssignmentFetchFuture(GridCacheContext<K,V> ctx, long topVer, Collection<ClusterNode> availableNodes)
ctx - Cache context.availableNodes - Available nodes.public void init()
public void onResponse(ClusterNode node, GridDhtAffinityAssignmentResponse<K,V> res)
node - Node.res - Reponse.public void onNodeLeft(UUID leftNodeId)
leftNodeId - Left node ID.public boolean onDone(@Nullable List<List<ClusterNode>> res, @Nullable Throwable err)
null exception is passed in
the result value will be ignored.onDone in class GridFutureAdapter<List<List<ClusterNode>>>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