public final class GridLocalLockFuture<K,V> extends GridFutureAdapter<Boolean> implements GridCacheMvccFuture<Boolean>
AbstractQueuedSynchronizer.ConditionObject| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Default no-op implementation that always returns
false. |
IgniteUuid |
futureId() |
int |
hashCode() |
void |
markNotTrackable()
Marks this future as non-trackable.
|
Collection<? extends ClusterNode> |
nodes() |
boolean |
onNodeLeft(UUID nodeId)
Callback for when node left.
|
boolean |
onOwnerChanged(GridCacheEntryEx entry,
GridCacheMvccCandidate owner) |
String |
toString() |
boolean |
trackable() |
GridCacheVersion |
version() |
chain, duration, endTime, error, get, get, get, get0, ignoreInterrupts, isCancelled, isDone, isFailed, listen, onCancelled, onDone, 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 IgniteUuid futureId()
futureId in interface GridCacheFuture<Boolean>public GridCacheVersion version()
version in interface GridCacheFuture<Boolean>public Collection<? extends ClusterNode> nodes()
nodes in interface GridCacheFuture<Boolean>public boolean onNodeLeft(UUID nodeId)
onNodeLeft in interface GridCacheFuture<Boolean>nodeId - Left node ID.True if future cared about this node.public boolean trackable()
trackable in interface GridCacheFuture<Boolean>True if future should be tracked.public void markNotTrackable()
markNotTrackable in interface GridCacheFuture<Boolean>public boolean onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)
onOwnerChanged in interface GridCacheMvccFuture<Boolean>entry - Entry which received new owner.owner - Owner.True if future cares about this entry.public boolean cancel()
false.
Futures that do support cancellation should override this method
and call GridFutureAdapter.onCancelled() callback explicitly if cancellation
indeed did happen.cancel in interface IgniteInternalFuture<Boolean>cancel in class GridFutureAdapter<Boolean>True if future was canceled (i.e. was not finished prior to this call).public String toString()
toString in class GridFutureAdapter<Boolean>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015