public class GridNearTxFinishRequest 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 |
|---|
GridNearTxFinishRequest()
Empty constructor required for
Externalizable. |
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
CacheWriteSynchronizationMode syncMode,
boolean explicitLock,
boolean storeEnabled,
@NotNull AffinityTopologyVersion topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
@Nullable UUID subjId,
int taskNameHash,
MvccSnapshot mvccSnapshot,
boolean addDepInfo) |
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
boolean |
explicitLock() |
byte |
fieldsCount()
Gets fields count.
|
int |
miniId() |
void |
miniId(int miniId) |
@Nullable MvccSnapshot |
mvccSnapshot() |
int |
partition() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
storeEnabled() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
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 GridNearTxFinishRequest()
Externalizable.public GridNearTxFinishRequest(IgniteUuid futId, GridCacheVersion xidVer, long threadId, boolean commit, boolean invalidate, boolean sys, byte plc, CacheWriteSynchronizationMode syncMode, boolean explicitLock, boolean storeEnabled, @NotNull @NotNull AffinityTopologyVersion topVer, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, @Nullable @Nullable UUID subjId, int taskNameHash, MvccSnapshot mvccSnapshot, boolean addDepInfo)
futId - Future ID.xidVer - Transaction ID.threadId - Thread ID.commit - Commit flag.invalidate - Invalidate flag.sys - System flag.plc - IO policy.syncMode - Write synchronization mode.explicitLock - Explicit lock flag.storeEnabled - Store enabled flag.topVer - Topology version.baseVer - Base version.committedVers - Committed versions.rolledbackVers - Rolled back versions.txSize - Expected transaction size.subjId - Subject ID.taskNameHash - Task name hash.addDepInfo - Deployment info flag.@Nullable public @Nullable MvccSnapshot mvccSnapshot()
public boolean explicitLock()
public boolean storeEnabled()
public int miniId()
public void miniId(int miniId)
miniId - Mini future ID.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.10.0 Release Date : March 10 2021