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,
@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,
MvccSnapshot mvccSnapshot,
Collection<PartitionUpdateCountersMessage> updCntrs) |
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,
MvccSnapshot mvccSnapshot,
Collection<PartitionUpdateCountersMessage> updCntrs) |
| 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() |
MvccSnapshot |
mvccSnapshot() |
UUID |
nearNodeId() |
boolean |
needReturnValue() |
void |
needReturnValue(boolean retVal) |
int |
partition() |
GridLongList |
partUpdateCounters() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
Collection<PartitionUpdateCountersMessage> |
updateCounters() |
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, lastAffinityChangedTopologyVersion, lastAffinityChangedTopologyVersion, lookupIndex, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, nextIndexId, onAckReceived, onClassError, 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 @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 @Nullable UUID subjId, int taskNameHash, boolean addDepInfo, boolean retVal, boolean waitRemoteTxs, MvccSnapshot mvccSnapshot, Collection<PartitionUpdateCountersMessage> updCntrs)
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.retVal - Need return valuewaitRemoteTxs - Wait remote transactions flagmvccSnapshot - Mvcc snapshot.updCntrs - Update counters for mvcc Tx.public GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, int miniId, @NotNull @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 @Nullable UUID subjId, int taskNameHash, boolean addDepInfo, Collection<Long> updateIdxs, boolean retVal, boolean waitRemoteTxs, MvccSnapshot mvccSnapshot, Collection<PartitionUpdateCountersMessage> updCntrs)
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.retVal - Need return valuewaitRemoteTxs - Wait remote transactions flagmvccSnapshot - Mvcc snapshot.updCntrs - Update counters for mvcc Tx.public MvccSnapshot mvccSnapshot()
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 Collection<PartitionUpdateCountersMessage> updateCounters()
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 int partition()
partition in class GridCacheMessage-1 if it cannot be determined.public String toString()
toString in class GridDistributedTxFinishRequest
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020