protected static class GridNearOptimisticTxPrepareFutureAdapter.KeyLockFuture extends GridFutureAdapter<Void>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allKeysAdded |
protected Collection<IgniteTxKey> |
lockKeys |
| Modifier | Constructor and Description |
|---|---|
protected |
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, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, onDone, reset, result@GridToStringInclude protected Collection<IgniteTxKey> lockKeys
protected volatile boolean allKeysAdded
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<Void>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020