public abstract class GridDhtPartitionsAbstractMessage extends GridCacheMessage
| Modifier and Type | Field and Description |
|---|---|
protected static byte |
COMPRESSED_FLAG_MASK |
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() |
protected boolean |
compressed() |
protected void |
compressed(boolean compressed) |
GridDhtPartitionExchangeId |
exchangeId() |
byte |
fieldsCount()
Gets fields count.
|
GridCacheVersion |
lastVersion() |
int |
partition() |
boolean |
partitionExchangeMessage() |
abstract Map<Integer,T2<Long,Long>> |
partitionUpdateCounters(int grpId) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
appendFlag, classError, deployInfo, error, finishUnmarshal, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, handlerId, ignoreClassErrors, 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 static final byte COMPRESSED_FLAG_MASK
protected 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 GridDhtPartitionExchangeId exchangeId()
Null if message doesn't belong to exchange process.public abstract Map<Integer,T2<Long,Long>> partitionUpdateCounters(int grpId)
grpId - Cache group ID.@Nullable public GridCacheVersion lastVersion()
protected final boolean compressed()
True if message data is compressed.protected final void compressed(boolean compressed)
compressed - True if message data is compressed.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 Fabric : ver. 2.2.0 Release Date : September 15 2017