public class GridDhtTxFinishRequest<K,V> extends GridDistributedTxFinishRequest<K,V>
MessageAdapter.TypeverCACHE_MSG_INDEX_FIELD_NAME, cacheId, MAX_CACHE_MSG_LOOKUP_INDEXreader, readState| 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,
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.
|
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)
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, prepareMarshal, replyRequired, syncCommit, syncRollback, system, threadId, txSizecandidatesByIndex, candidatesByIndex, candidatesByKey, candidatesByKey, candidatesByKey, committedVersions, completedVersions, keysCount, rolledbackVersions, version, versioncacheId, cacheId, classError, deployInfo, ignoreClassErrors, lookupIndex, marshalBooleanLinkedMap, marshalCollection, marshalFilter, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, marshalValuesCollection, messageId, nextIndexId, onClassError, prepare, prepareFilter, prepareObject, prepareObjects, transactional, transferExpiryPolicy, unmarshalBooleanLinkedMap, unmarshalCollection, unmarshalFilter, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTx, unmarshalValueBytesCollectionsetReader, skipRecoveryclone, 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, 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 GridCacheMessage<K,V>True 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 GridCacheMessage<K,V>public Collection<GridCacheVersion> pendingVersions()
public String toString()
toString in class GridDistributedTxFinishRequest<K,V>public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in class GridDistributedTxFinishRequest<K,V>buf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf)
readFrom in class GridDistributedTxFinishRequest<K,V>buf - Byte buffer.public byte directType()
directType in class GridDistributedTxFinishRequest<K,V>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015