public class GridDhtAssignmentFetchFuture extends GridFutureAdapter<List<List<ClusterNode>>>
AbstractQueuedSynchronizer.ConditionObject| Constructor and Description |
|---|
GridDhtAssignmentFetchFuture(GridCacheContext ctx,
AffinityTopologyVersion 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 res) |
cancel, chain, duration, endTime, error, get, get, get, get0, ignoreInterrupts, isCancelled, isDone, isFailed, listen, onCancelled, onDone, onDone, onDone, result, startTime, toString, 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 GridDhtAssignmentFetchFuture(GridCacheContext ctx, AffinityTopologyVersion topVer, Collection<ClusterNode> availableNodes)
ctx - Cache context.availableNodes - Available nodes.public void init()
public void onResponse(ClusterNode node, GridDhtAffinityAssignmentResponse res)
node - Node.res - Response.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.2.0-incubating Release Date : June 16 2015