public class GridNearTxFinishRequest extends GridDistributedTxFinishRequest
veraddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, cacheId, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEX| 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,
AffinityTopologyVersion topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash,
boolean addDepInfo) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
boolean |
explicitLock() |
byte |
fieldsCount()
Gets fields count.
|
IgniteUuid |
miniId() |
void |
miniId(IgniteUuid miniId) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
storeEnabled() |
UUID |
subjectId() |
CacheWriteSynchronizationMode |
syncMode() |
int |
taskNameHash() |
AffinityTopologyVersion |
topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
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, partitionExchangeMessage, prepare, prepareMarshal, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, 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 AffinityTopologyVersion topVer, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, @Nullable UUID subjId, int taskNameHash, 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 CacheWriteSynchronizationMode syncMode()
public boolean explicitLock()
public boolean storeEnabled()
public IgniteUuid miniId()
public void miniId(IgniteUuid miniId)
miniId - Mini future ID.@Nullable public UUID subjectId()
public int taskNameHash()
public AffinityTopologyVersion topologyVersion()
GridCacheMessagetopologyVersion in class GridCacheMessagepublic 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 GridDistributedTxFinishRequestpublic String toString()
toString in class GridDistributedTxFinishRequest
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016