public class GridDhtTxFinishRequest extends GridDistributedTxFinishRequest
verCACHE_MSG_INDEX_FIELD_NAME, cacheId, MAX_CACHE_MSG_LOOKUP_INDEX| Constructor and Description |
|---|
GridDhtTxFinishRequest()
Empty constructor required for
Externalizable. |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowForStartup() |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
TransactionIsolation |
isolation() |
boolean |
isSystemInvalidate() |
IgniteUuid |
miniId() |
UUID |
nearNodeId() |
Collection<GridCacheVersion> |
pendingVersions()
Gets versions of not acquired locks with version less then one of transaction being committed.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
UUID |
subjectId() |
int |
taskNameHash() |
long |
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.
|
GridCacheVersion |
writeVersion() |
void |
writeVersion(GridCacheVersion writeVer) |
baseVersion, commit, commitVersion, finishUnmarshal, futureId, groupLock, groupLockKey, isInvalidate, policy, prepareMarshal, replyRequired, syncCommit, syncRollback, system, threadId, txSizecandidatesByIndex, candidatesByIndex, candidatesByKey, candidatesByKey, candidatesByKey, committedVersions, completedVersions, keysCount, rolledbackVersions, version, versioncacheId, cacheId, classError, deployInfo, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, ignoreClassErrors, lookupIndex, marshalBooleanLinkedMap, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, nextIndexId, onClassError, prepare, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, transferExpiryPolicy, unmarshalBooleanLinkedMap, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridDhtTxFinishRequest()
Externalizable.public GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, long topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, GridIoPolicy plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, @Nullable IgniteTxKey grpLockKey, @Nullable UUID subjId, int taskNameHash)
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.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.grpLockKey - Group lock key.subjId - Subject ID.taskNameHash - Task name hash.public boolean allowForStartup()
allowForStartup in class GridCacheMessageTrue if this message is preloader message.public IgniteUuid miniId()
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 long topologyVersion()
GridCacheMessagetopologyVersion in class GridCacheMessagepublic Collection<GridCacheVersion> pendingVersions()
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.0.0-RC3 Release Date : March 24 2015