public abstract class GridNearTxPrepareFutureAdapter extends GridCacheCompoundFuture<GridNearTxPrepareResponse,IgniteInternalTx> implements GridCacheVersionedFuture<IgniteInternalTx>
| Modifier and Type | Field and Description |
|---|---|
protected GridCacheSharedContext<?,?> |
cctx
Context.
|
protected Throwable |
err
Error.
|
protected static AtomicReferenceFieldUpdater<GridNearTxPrepareFutureAdapter,Throwable> |
ERR_UPD
Error updater.
|
protected IgniteUuid |
futId
Future ID.
|
protected static IgniteLogger |
log
Logger.
|
protected static AtomicReference<IgniteLogger> |
logRef
Logger reference.
|
protected static IgniteLogger |
msgLog
Logger.
|
protected boolean |
trackable
Trackable flag.
|
protected GridNearTxLocal |
tx
Transaction.
|
| Constructor and Description |
|---|
GridNearTxPrepareFutureAdapter(GridCacheSharedContext cctx,
GridNearTxLocal tx) |
| Modifier and Type | Method and Description |
|---|---|
IgniteUuid |
futureId() |
void |
markNotTrackable()
Marks this future as non-trackable.
|
abstract void |
onResult(UUID nodeId,
GridNearTxPrepareResponse res) |
abstract void |
prepare()
Prepares transaction.
|
boolean |
trackable() |
IgniteInternalTx |
tx() |
GridCacheVersion |
version() |
duration, 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 static final AtomicReference<IgniteLogger> logRef
protected static final AtomicReferenceFieldUpdater<GridNearTxPrepareFutureAdapter,Throwable> ERR_UPD
protected static IgniteLogger log
protected static IgniteLogger msgLog
protected GridCacheSharedContext<?,?> cctx
@GridToStringInclude protected IgniteUuid futId
@GridToStringInclude protected GridNearTxLocal tx
@GridToStringExclude protected volatile Throwable err
protected boolean trackable
public GridNearTxPrepareFutureAdapter(GridCacheSharedContext cctx, GridNearTxLocal tx)
cctx - Context.tx - Transaction.public IgniteUuid futureId()
futureId in interface GridCacheFuture<IgniteInternalTx>public GridCacheVersion version()
version in interface GridCacheVersionedFuture<IgniteInternalTx>public void markNotTrackable()
markNotTrackable in interface GridCacheFuture<IgniteInternalTx>public boolean trackable()
trackable in interface GridCacheFuture<IgniteInternalTx>True if future should be tracked.public IgniteInternalTx tx()
public abstract void prepare()
public abstract void onResult(UUID nodeId, GridNearTxPrepareResponse res)
nodeId - Sender.res - Result.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018