public class GridDhtTxFinishRequest extends GridDistributedTxFinishRequest
CHECK_COMMITTED_FLAG_MASK, EXPLICIT_LOCK_FLAG_MASK, NEED_RETURN_VALUE_FLAG_MASK, STORE_ENABLED_FLAG_MASK, SYS_INVALIDATE_FLAG_MASK, WAIT_REMOTE_TX_FLAG_MASKvercacheIdaddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEXDIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridDhtTxFinishRequest()
Empty constructor required for
Externalizable. |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
int miniId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean sysInvalidate,
CacheWriteSynchronizationMode syncMode,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
UUID subjId,
int taskNameHash,
boolean addDepInfo,
boolean retVal,
boolean waitRemoteTxs) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
int miniId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean sysInvalidate,
CacheWriteSynchronizationMode syncMode,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
UUID subjId,
int taskNameHash,
boolean addDepInfo,
Collection<Long> updateIdxs,
boolean retVal,
boolean waitRemoteTxs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCommitted() |
void |
checkCommitted(boolean checkCommitted) |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
TransactionIsolation |
isolation() |
boolean |
isSystemInvalidate() |
int |
miniId() |
UUID |
nearNodeId() |
boolean |
needReturnValue() |
void |
needReturnValue(boolean retVal) |
GridLongList |
partUpdateCounters() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
waitRemoteTransactions() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
GridCacheVersion |
writeVersion() |
void |
writeVersion(GridCacheVersion writeVer) |
baseVersion, commit, commitVersion, futureId, isFlag, isInvalidate, messageLogger, policy, replyRequired, setFlag, subjectId, syncMode, system, taskNameHash, threadId, topologyVersion, txSize, txState, txStateaddDeploymentInfo, committedVersions, completedVersions, rolledbackVersions, version, versioncacheGroupMessage, cacheId, cacheId, handlerIdappendFlag, classError, deployInfo, error, finishUnmarshal, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, ignoreClassErrors, lookupIndex, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, nextIndexId, onAckReceived, onClassError, partition, partitionExchangeMessage, prepare, prepareMarshal, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, prepareObject, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridDhtTxFinishRequest()
Externalizable.public GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, int miniId, @NotNull AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, CacheWriteSynchronizationMode syncMode, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, @Nullable UUID subjId, int taskNameHash, boolean addDepInfo, boolean retVal, boolean waitRemoteTxs)
nearNodeId - Near node ID.futId - Future ID.miniId - Mini future ID.topVer - Topology version.xidVer - Transaction ID.threadId - Thread ID.commitVer - Commit version.isolation - Transaction isolation.commit - Commit flag.invalidate - Invalidate flag.sys - System flag.plc - IO policy.sysInvalidate - System invalidation flag.syncMode - Write synchronization mode.baseVer - Base version.committedVers - Committed versions.rolledbackVers - Rolled back versions.pendingVers - Pending versions.txSize - Expected transaction size.subjId - Subject ID.taskNameHash - Task name hash.addDepInfo - Deployment info flag.public GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, int miniId, @NotNull AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, CacheWriteSynchronizationMode syncMode, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, @Nullable UUID subjId, int taskNameHash, boolean addDepInfo, Collection<Long> updateIdxs, boolean retVal, boolean waitRemoteTxs)
nearNodeId - Near node ID.futId - Future ID.miniId - Mini future ID.topVer - Topology version.xidVer - Transaction ID.threadId - Thread ID.commitVer - Commit version.isolation - Transaction isolation.commit - Commit flag.invalidate - Invalidate flag.sys - System flag.plc - IO policy.sysInvalidate - System invalidation flag.syncMode - Write synchronization mode.baseVer - Base version.committedVers - Committed versions.rolledbackVers - Rolled back versions.pendingVers - Pending versions.txSize - Expected transaction size.subjId - Subject ID.taskNameHash - Task name hash.updateIdxs - Partition update idxs.addDepInfo - Deployment info flag.public GridLongList partUpdateCounters()
public int miniId()
public TransactionIsolation isolation()
public UUID nearNodeId()
public boolean isSystemInvalidate()
public GridCacheVersion writeVersion()
public void writeVersion(GridCacheVersion writeVer)
writeVer - Write version for one-phase commit transactions.public boolean checkCommitted()
public void checkCommitted(boolean checkCommitted)
checkCommitted - Check committed flag.public boolean waitRemoteTransactions()
Truepublic boolean needReturnValue()
public void needReturnValue(boolean retVal)
retVal - Need return value.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridDistributedTxFinishRequestbuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridDistributedTxFinishRequestbuf - Byte buffer.reader - Reader.public short directType()
directType in interface MessagedirectType in class GridDistributedTxFinishRequestpublic byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridDistributedTxFinishRequestpublic String toString()
toString in class GridDistributedTxFinishRequest
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018