public class GridDistributedTxFinishRequest extends GridDistributedBaseMessage implements IgniteTxStateAware
veraddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, cacheId, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEX| Constructor and Description |
|---|
GridDistributedTxFinishRequest()
Empty constructor required by
Externalizable. |
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
IgniteUuid futId,
GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
boolean addDepInfo) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
baseVersion() |
boolean |
commit() |
GridCacheVersion |
commitVersion() |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
IgniteUuid |
futureId() |
boolean |
isInvalidate() |
IgniteLogger |
messageLogger(GridCacheSharedContext ctx) |
byte |
policy() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
replyRequired() |
boolean |
syncCommit() |
void |
syncCommit(boolean syncCommit) |
boolean |
syncRollback() |
boolean |
system() |
long |
threadId() |
String |
toString() |
int |
txSize() |
IgniteTxState |
txState() |
void |
txState(IgniteTxState txState) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
addDeploymentInfo, 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, topologyVersion, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridDistributedTxFinishRequest()
Externalizable.public GridDistributedTxFinishRequest(GridCacheVersion xidVer, IgniteUuid futId, @Nullable GridCacheVersion commitVer, long threadId, boolean commit, boolean invalidate, boolean sys, byte plc, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, boolean addDepInfo)
xidVer - Transaction ID.futId - future ID.threadId - Thread ID.commitVer - Commit version.commit - Commit flag.invalidate - Invalidate flag.sys - System transaction flag.plc - IO policy.syncCommit - Sync commit flag.syncRollback - Sync rollback flag.baseVer - Base version.committedVers - Committed versions.rolledbackVers - Rolled back versions.txSize - Expected transaction size.addDepInfo - Deployment info flag.public boolean system()
public byte policy()
public IgniteUuid futureId()
public long threadId()
public GridCacheVersion commitVersion()
public boolean commit()
public boolean isInvalidate()
public boolean syncCommit()
public void syncCommit(boolean syncCommit)
syncCommit - Sync commit flag.public boolean syncRollback()
public GridCacheVersion baseVersion()
public int txSize()
public boolean replyRequired()
True if reply is required.public IgniteTxState txState()
txState in interface IgniteTxStateAwarepublic void txState(IgniteTxState txState)
txState in interface IgniteTxStateAwaretxState - Transient TX state.public IgniteLogger messageLogger(GridCacheSharedContext ctx)
messageLogger in class GridCacheMessagectx - Context.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridDistributedBaseMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridDistributedBaseMessagebuf - Byte buffer.reader - Reader.public byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic String toString()
toString in class GridDistributedBaseMessage
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016