public class GridCacheTxRecoveryResponse extends GridDistributedBaseMessage implements IgniteTxStateAware
vercacheIdaddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEXDIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridCacheTxRecoveryResponse()
Empty constructor required by
Externalizable |
GridCacheTxRecoveryResponse(GridCacheVersion txId,
IgniteUuid futId,
IgniteUuid miniId,
boolean success,
boolean addDepInfo) |
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
IgniteUuid |
futureId() |
IgniteLogger |
messageLogger(GridCacheSharedContext ctx) |
IgniteUuid |
miniId() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
success() |
String |
toString() |
IgniteTxState |
txState() |
void |
txState(IgniteTxState txState) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
addDeploymentInfo, committedVersions, completedVersions, rolledbackVersions, version, versioncacheGroupMessage, cacheId, cacheId, handlerIdappendFlag, 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, prepareObject, topologyVersion, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridCacheTxRecoveryResponse()
Externalizablepublic GridCacheTxRecoveryResponse(GridCacheVersion txId, IgniteUuid futId, IgniteUuid miniId, boolean success, boolean addDepInfo)
txId - Transaction ID.futId - Future ID.miniId - Mini future ID.success - True if all remote transactions were prepared, false otherwise.addDepInfo - Deployment info flag.public IgniteUuid futureId()
public IgniteUuid miniId()
public boolean success()
True if all remote transactions were prepared.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 short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridCacheIdMessagepublic String toString()
toString in class GridDistributedBaseMessage
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018