public final class GridLocalLockFuture<K,V> extends GridCacheFutureAdapter<Boolean> implements GridCacheMvccFuture<Boolean>
| 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.
|
boolean |
onNodeLeft(UUID nodeId)
Callback for when node left.
|
boolean |
onOwnerChanged(GridCacheEntryEx entry,
GridCacheMvccCandidate owner) |
String |
toString() |
boolean |
trackable() |
GridCacheVersion |
version() |
duration, onDone, startTimechain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, resultclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitduration, startTimechain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultpublic IgniteUuid futureId()
futureId in interface GridCacheFuture<Boolean>public GridCacheVersion version()
version in interface GridCacheMvccFuture<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. 2.0.0 Release Date : April 30 2017