public class GridDhtTxFinishResponse extends GridDistributedTxFinishResponse
addDepInfo, CACHE_MSG_INDEX_FIELD_NAME, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEXDIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridDhtTxFinishResponse()
Empty constructor required by
Externalizable. |
GridDhtTxFinishResponse(int part,
GridCacheVersion xid,
IgniteUuid futId,
int miniId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCommitted() |
void |
checkCommitted(boolean checkCommitted) |
Throwable |
checkCommittedError() |
void |
checkCommittedError(Throwable checkCommittedErr) |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
int |
miniId() |
void |
prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
GridCacheReturn |
returnValue() |
void |
returnValue(GridCacheReturn retVal) |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
addDeploymentInfo, cacheGroupMessage, futureId, handlerId, isFlag, messageLogger, partition, setFlag, xidappendFlag, classError, deployInfo, error, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, ignoreClassErrors, lastAffinityChangedTopologyVersion, lastAffinityChangedTopologyVersion, lookupIndex, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, nextIndexId, onAckReceived, onClassError, partitionExchangeMessage, prepare, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, prepareObject, topologyVersion, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxpublic GridDhtTxFinishResponse()
Externalizable.public GridDhtTxFinishResponse(int part,
GridCacheVersion xid,
IgniteUuid futId,
int miniId)
part - Partition.xid - Xid version.futId - Future ID.miniId - Mini future ID.public int miniId()
public Throwable checkCommittedError()
public void checkCommittedError(Throwable checkCommittedErr)
checkCommittedErr - Error for check committed backup requests.public boolean checkCommitted()
public void checkCommitted(boolean checkCommitted)
checkCommitted - Check committed flag.public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException
prepareMarshal in class GridCacheMessagectx - Cache context.IgniteCheckedException - If failed.public void finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr) throws IgniteCheckedException
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method.finishUnmarshal in class GridCacheMessagectx - Context.ldr - Class loader.IgniteCheckedException - If failed.public void returnValue(GridCacheReturn retVal)
retVal - Return value.public GridCacheReturn returnValue()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridDistributedTxFinishResponsebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridDistributedTxFinishResponsebuf - Byte buffer.reader - Reader.public short directType()
directType in interface MessagedirectType in class GridDistributedTxFinishResponsepublic byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridDistributedTxFinishResponsepublic String toString()
toString in class GridDistributedTxFinishResponse
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023