public abstract class GridNearOptimisticTxPrepareFutureAdapter extends GridNearTxPrepareFutureAdapter
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GridNearOptimisticTxPrepareFutureAdapter.KeyLockFuture
Keys lock future.
|
AbstractQueuedSynchronizer.ConditionObjectcctx, err, ERR_UPD, futId, log, logRef, msgLog, trackable, tx, txMappingsync| Constructor and Description |
|---|
GridNearOptimisticTxPrepareFutureAdapter(GridCacheSharedContext cctx,
GridNearTxLocal tx) |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare()
Prepares transaction.
|
protected abstract void |
prepare0(boolean remap,
boolean topLocked) |
protected void |
prepareOnTopology(boolean remap,
Runnable c) |
protected GridDhtTopologyFuture |
topologyReadLock()
Acquires topology read lock.
|
protected void |
topologyReadUnlock()
Releases topology read lock.
|
checkOnePhase, futureId, markNotTrackable, onPrepareResponse, onResult, trackable, tx, versionadd, apply, cancel, clear, future, futures, futuresCount, hasPending, ignoreFailure, initialized, markInitialized, toStringchain, 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, setExclusiveOwnerThreadclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonOwnerChangedonNodeLeftcancel, chain, duration, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, result, startTimepublic GridNearOptimisticTxPrepareFutureAdapter(GridCacheSharedContext cctx, GridNearTxLocal tx)
cctx - Context.tx - Transaction.public final void prepare()
prepare in class GridNearTxPrepareFutureAdapterprotected final GridDhtTopologyFuture topologyReadLock()
protected final void topologyReadUnlock()
protected final void prepareOnTopology(boolean remap,
@Nullable
Runnable c)
remap - Remap flag.c - Optional closure to run after map.protected abstract void prepare0(boolean remap,
boolean topLocked)
remap - Remap flag.topLocked - True if thread already acquired lock preventing topology change.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016