public abstract class GridNearOptimisticTxPrepareFutureAdapter extends GridNearTxPrepareFutureAdapter
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GridNearOptimisticTxPrepareFutureAdapter.KeyLockFuture
Keys lock future.
|
| Modifier | Constructor and Description |
|---|---|
protected |
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.
|
futureId, markNotTrackable, onResult, trackable, tx, versionduration, onDone, startTimeadd, apply, cancel, clear, future, futures, futuresCountNoLock, hasFutures, hasPending, ignoreFailure, initialized, logDebug, logError, markInitialized, processFailure, toStringchain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, reset, resultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonOwnerChangedduration, onNodeLeft, startTimecancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultprotected 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. 2.6.0 Release Date : July 10 2018