public class GridDhtTxFinishRequest extends GridDistributedTxFinishRequest
| Modifier and Type | Field and Description |
|---|---|
static int |
NEED_RETURN_VALUE_FLAG_MASK |
static int |
WAIT_REMOTE_TX_FLAG_MASK |
veraddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, cacheId, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEX| Constructor and Description |
|---|
GridDhtTxFinishRequest()
Empty constructor required for
Externalizable. |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
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,
IgniteUuid miniId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
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) |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
TransactionIsolation |
isolation() |
boolean |
isSystemInvalidate() |
IgniteUuid |
miniId() |
UUID |
nearNodeId() |
boolean |
needReturnValue() |
void |
needReturnValue(boolean retVal) |
GridLongList |
partUpdateCounters() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
UUID |
subjectId() |
int |
taskNameHash() |
AffinityTopologyVersion |
topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
String |
toString() |
boolean |
waitRemoteTransactions() |
void |
waitRemoteTransactions(boolean waitRemoteTxs) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
GridCacheVersion |
writeVersion() |
void |
writeVersion(GridCacheVersion writeVer) |
baseVersion, commit, commitVersion, futureId, isInvalidate, messageLogger, policy, replyRequired, syncCommit, syncCommit, syncRollback, system, threadId, txSize, txState, txStateaddDeploymentInfo, committedVersions, completedVersions, keysCount, rolledbackVersions, version, versioncacheId, cacheId, 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, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic static final int WAIT_REMOTE_TX_FLAG_MASK
public static final int NEED_RETURN_VALUE_FLAG_MASK
public GridDhtTxFinishRequest()
Externalizable.public GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, @NotNull AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, 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.syncCommit - Synchronous commit flag.syncRollback - Synchronous rollback flag.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, IgniteUuid miniId, @NotNull AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, 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.syncCommit - Synchronous commit flag.syncRollback - Synchronous rollback flag.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 IgniteUuid miniId()
@Nullable public UUID subjectId()
public int taskNameHash()
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 AffinityTopologyVersion topologyVersion()
GridCacheMessagetopologyVersion in class GridCacheMessagepublic boolean checkCommitted()
public void checkCommitted(boolean checkCommitted)
checkCommitted - Check committed flag.public boolean waitRemoteTransactions()
Truepublic void waitRemoteTransactions(boolean waitRemoteTxs)
waitRemoteTxs - Wait remote transactions flag.public boolean needReturnValue()
public void needReturnValue(boolean retVal)
retVal - Need return value.public String toString()
toString in class GridDistributedTxFinishRequestpublic 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 byte directType()
directType in interface MessagedirectType in class GridDistributedTxFinishRequestpublic byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridDistributedTxFinishRequest
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017