public abstract class GridDhtPartitionsAbstractMessage extends GridCacheMessage
| Modifier and Type | Field and Description |
|---|---|
protected byte |
flags |
addDepInfo, CACHE_MSG_INDEX_FIELD_NAME, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEXDIRECT_TYPE_SIZE| Modifier | Constructor and Description |
|---|---|
protected |
GridDhtPartitionsAbstractMessage()
Required by
Externalizable. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDeploymentInfo()
Deployment enabled flag indicates whether deployment info has to be added to this message.
|
boolean |
cacheGroupMessage() |
boolean |
compressed() |
void |
compressed(boolean compressed) |
@Nullable GridDhtPartitionExchangeId |
exchangeId() |
void |
exchangeId(GridDhtPartitionExchangeId exchId) |
byte |
fieldsCount()
Gets fields count.
|
@Nullable GridCacheVersion |
lastVersion() |
int |
partition() |
boolean |
partitionExchangeMessage() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
restoreState() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
appendFlag, classError, deployInfo, error, finishUnmarshal, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, handlerId, ignoreClassErrors, lastAffinityChangedTopologyVersion, lastAffinityChangedTopologyVersion, lookupIndex, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, messageLogger, nextIndexId, onAckReceived, onClassError, prepare, prepareMarshal, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, prepareObject, topologyVersion, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdirectTypeprotected GridDhtPartitionsAbstractMessage()
Externalizable.public boolean cacheGroupMessage()
cacheGroupMessage in class GridCacheMessageTrue if cache group message.public int partition()
partition in class GridCacheMessage-1 if it cannot be determined.public boolean addDeploymentInfo()
addDeploymentInfo in class GridCacheMessagetrue or if deployment info must be added to the the message, false otherwise.public boolean partitionExchangeMessage()
partitionExchangeMessage in class GridCacheMessageTrue if this message is partition exchange message.@Nullable public @Nullable GridDhtPartitionExchangeId exchangeId()
Null if message doesn't belong to exchange process.public void exchangeId(GridDhtPartitionExchangeId exchId)
exchId - Exchange ID.@Nullable public @Nullable GridCacheVersion lastVersion()
public final boolean compressed()
True if message data is compressed.public final void compressed(boolean compressed)
compressed - True if message data is compressed.public boolean restoreState()
public byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridCacheMessagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridCacheMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridCacheMessagebuf - Byte buffer.reader - Reader.public String toString()
toString in class GridCacheMessage
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021