protected static class GridNearOptimisticTxPrepareFutureAdapter.KeyLockFuture extends GridFutureAdapter<GridNearTxPrepareResponse>
AbstractQueuedSynchronizer.ConditionObject| Modifier and Type | Field and Description |
|---|---|
protected Collection<IgniteTxKey> |
lockKeys |
| Modifier | Constructor and Description |
|---|---|
protected |
GridNearOptimisticTxPrepareFutureAdapter.KeyLockFuture() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLockKey(IgniteTxKey key) |
protected void |
onAllKeysAdded()
Moves future to the ready state.
|
protected void |
onKeyLocked(IgniteTxKey key) |
String |
toString() |
cancel, chain, duration, endTime, error, get, get, get, get0, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, 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, setExclusiveOwnerThread@GridToStringInclude protected Collection<IgniteTxKey> lockKeys
protected GridNearOptimisticTxPrepareFutureAdapter.KeyLockFuture()
protected void addLockKey(IgniteTxKey key)
key - Key to track for locking.protected void onKeyLocked(IgniteTxKey key)
key - Locked keys.protected void onAllKeysAdded()
public String toString()
toString in class GridFutureAdapter<GridNearTxPrepareResponse>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016