protected static class GridNearOptimisticTxPrepareFutureAdapter.KeyLockFuture extends GridFutureAdapter<GridNearTxPrepareResponse>
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, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, onDone, result
@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. 2.0.0 Release Date : April 30 2017