public class GridNearTxPrepareRequest<K,V> extends GridDistributedTxPrepareRequest<K,V>
MessageAdapter.TypeverCACHE_MSG_INDEX_FIELD_NAME, cacheId, MAX_CACHE_MSG_LOOKUP_INDEXreader, readState| Constructor and Description |
|---|
GridNearTxPrepareRequest()
Empty constructor required for
Externalizable. |
GridNearTxPrepareRequest(IgniteUuid futId,
long topVer,
IgniteInternalTx<K,V> tx,
Collection<IgniteTxEntry<K,V>> reads,
Collection<IgniteTxEntry<K,V>> writes,
IgniteTxKey grpLockKey,
boolean partLock,
boolean near,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
boolean onePhaseCommit,
boolean retVal,
boolean implicitSingle,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Method and Description |
|---|---|
void |
cloneEntries() |
byte |
directType()
Gets message type.
|
IgniteUuid |
futureId() |
boolean |
implicitSingle() |
boolean |
last() |
Collection<UUID> |
lastBackups() |
IgniteUuid |
miniId() |
void |
miniId(IgniteUuid miniId) |
boolean |
near() |
boolean |
readFrom(ByteBuffer buf)
Reads this message from provided byte buffer.
|
boolean |
returnValue() |
UUID |
subjectId() |
int |
taskNameHash() |
long |
topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
String |
toString() |
protected boolean |
transferExpiryPolicy() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
addDhtVersion, concurrency, dhtVersions, finishUnmarshal, groupLockKey, isInvalidate, isolation, onePhaseCommit, partitionLock, prepareMarshal, reads, reads, system, threadId, timeout, transactionNodes, txSize, writes, writes, writeVersioncandidatesByIndex, candidatesByIndex, candidatesByKey, candidatesByKey, candidatesByKey, committedVersions, completedVersions, keysCount, rolledbackVersions, version, versionallowForStartup, cacheId, cacheId, classError, deployInfo, ignoreClassErrors, lookupIndex, marshalBooleanLinkedMap, marshalCollection, marshalFilter, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, marshalValuesCollection, messageId, nextIndexId, onClassError, prepare, prepareFilter, prepareObject, prepareObjects, transactional, unmarshalBooleanLinkedMap, unmarshalCollection, unmarshalFilter, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTx, unmarshalValueBytesCollectionsetReader, skipRecoveryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic GridNearTxPrepareRequest()
Externalizable.public GridNearTxPrepareRequest(IgniteUuid futId, long topVer, IgniteInternalTx<K,V> tx, Collection<IgniteTxEntry<K,V>> reads, Collection<IgniteTxEntry<K,V>> writes, IgniteTxKey grpLockKey, boolean partLock, boolean near, Map<UUID,Collection<UUID>> txNodes, boolean last, Collection<UUID> lastBackups, boolean onePhaseCommit, boolean retVal, boolean implicitSingle, @Nullable UUID subjId, int taskNameHash)
futId - Future ID.topVer - Topology version.tx - Transaction.reads - Read entries.writes - Write entries.grpLockKey - Group lock key if preparing group-lock transaction.partLock - True if preparing group-lock transaction with partition lock.near - True if mapping is for near caches.txNodes - Transaction nodes mapping.last - True if this last prepare request for node.lastBackups - IDs of backup nodes receiving last prepare request during this prepare.subjId - Subject ID.taskNameHash - Task name hash.public Collection<UUID> lastBackups()
public boolean last()
True if this last prepare request for node.public boolean near()
True if mapping is for near-enabled caches.public IgniteUuid futureId()
public IgniteUuid miniId()
public void miniId(IgniteUuid miniId)
miniId - Mini future ID.public int taskNameHash()
public boolean returnValue()
public boolean implicitSingle()
public long topologyVersion()
GridCacheMessagetopologyVersion in class GridCacheMessage<K,V>public void cloneEntries()
protected boolean transferExpiryPolicy()
transferExpiryPolicy in class GridCacheMessage<K,V>True if entries expire policy should be marshalled.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in class GridDistributedTxPrepareRequest<K,V>buf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf)
readFrom in class GridDistributedTxPrepareRequest<K,V>buf - Byte buffer.public byte directType()
directType in class GridDistributedTxPrepareRequest<K,V>public String toString()
toString in class GridDistributedTxPrepareRequest<K,V>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015