public class GridDhtAssignmentFetchFuture extends GridFutureAdapter<GridDhtAffinityAssignmentResponse>
AbstractQueuedSynchronizer.ConditionObject| Constructor and Description |
|---|
GridDhtAssignmentFetchFuture(GridCacheSharedContext ctx,
String cacheName,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initializes fetch future.
|
T2<Integer,AffinityTopologyVersion> |
key() |
boolean |
onDone(GridDhtAffinityAssignmentResponse res,
Throwable err)
Callback to notify that future is finished.
|
void |
onNodeLeft(UUID leftNodeId) |
void |
onResponse(UUID nodeId,
GridDhtAffinityAssignmentResponse res) |
String |
toString() |
cancel, chain, chain, duration, endTime, error, get, get, get, get0, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, 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 GridDhtAssignmentFetchFuture(GridCacheSharedContext ctx, String cacheName, AffinityTopologyVersion topVer)
ctx - Context.cacheName - Cache name.topVer - Topology version.public void init()
public T2<Integer,AffinityTopologyVersion> key()
public void onResponse(UUID nodeId, GridDhtAffinityAssignmentResponse res)
nodeId - Node ID.res - Response.public void onNodeLeft(UUID leftNodeId)
leftNodeId - Left node ID.public boolean onDone(@Nullable
GridDhtAffinityAssignmentResponse res,
@Nullable
Throwable err)
null exception is passed in
the result value will be ignored.onDone in class GridFutureAdapter<GridDhtAffinityAssignmentResponse>res - Optional result.err - Optional error.True if result was set by this call.public String toString()
toString in class GridFutureAdapter<GridDhtAffinityAssignmentResponse>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017