public class GridCacheOptimisticCheckPreparedTxResponse<K,V> extends GridDistributedBaseMessage<K,V>
MessageAdapter.TypeverCACHE_MSG_INDEX_FIELD_NAME, cacheId, MAX_CACHE_MSG_LOOKUP_INDEXreader, readState| Constructor and Description |
|---|
GridCacheOptimisticCheckPreparedTxResponse()
Empty constructor required by
Externalizable |
GridCacheOptimisticCheckPreparedTxResponse(GridCacheVersion txId,
IgniteUuid futId,
IgniteUuid miniId,
boolean success) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
IgniteUuid |
futureId() |
IgniteUuid |
miniId() |
boolean |
readFrom(ByteBuffer buf)
Reads this message from provided byte buffer.
|
boolean |
success() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
candidatesByIndex, candidatesByIndex, candidatesByKey, candidatesByKey, candidatesByKey, committedVersions, completedVersions, finishUnmarshal, keysCount, prepareMarshal, rolledbackVersions, version, versionallowForStartup, cacheId, cacheId, classError, deployInfo, ignoreClassErrors, lookupIndex, marshalBooleanLinkedMap, marshalCollection, marshalFilter, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, marshalValuesCollection, messageId, nextIndexId, onClassError, prepare, prepareFilter, prepareObject, prepareObjects, topologyVersion, transactional, transferExpiryPolicy, unmarshalBooleanLinkedMap, unmarshalCollection, unmarshalFilter, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTx, unmarshalValueBytesCollectionsetReader, skipRecoveryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridCacheOptimisticCheckPreparedTxResponse()
Externalizablepublic GridCacheOptimisticCheckPreparedTxResponse(GridCacheVersion txId, IgniteUuid futId, IgniteUuid miniId, boolean success)
txId - Transaction ID.futId - Future ID.miniId - Mini future ID.success - True if all remote transactions were prepared, false otherwise.public IgniteUuid futureId()
public IgniteUuid miniId()
public boolean success()
True if all remote transactions were prepared.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in class GridDistributedBaseMessage<K,V>buf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf)
readFrom in class GridDistributedBaseMessage<K,V>buf - Byte buffer.public byte directType()
directType in class MessageAdapterpublic String toString()
toString in class GridDistributedBaseMessage<K,V>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015