public class GridDhtPartitionSupplyMessageV2 extends GridDhtPartitionSupplyMessage
| Modifier and Type | Field and Description |
|---|---|
static IgniteProductVersion |
AVAILABLE_SINCE
Available since.
|
grpIdaddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEXDIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridDhtPartitionSupplyMessageV2()
Default constructor.
|
GridDhtPartitionSupplyMessageV2(long rebalanceId,
int grpId,
AffinityTopologyVersion topVer,
boolean addDepInfo,
Throwable err) |
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
@Nullable Throwable |
error() |
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. |
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.
|
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
addDeploymentInfo, addEstimatedKeysCount, addKeysForCache, estimatedKeysCount, ignoreClassErrors, keysForCache, size, topologyVersion, toStringcacheGroupMessage, groupId, handlerIdappendFlag, classError, deployInfo, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, lastAffinityChangedTopologyVersion, lastAffinityChangedTopologyVersion, lookupIndex, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, messageLogger, nextIndexId, onAckReceived, onClassError, partition, partitionExchangeMessage, prepare, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, prepareObject, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeployInfo, preparepublic static final IgniteProductVersion AVAILABLE_SINCE
public GridDhtPartitionSupplyMessageV2()
public GridDhtPartitionSupplyMessageV2(long rebalanceId,
int grpId,
AffinityTopologyVersion topVer,
boolean addDepInfo,
Throwable err)
rebalanceId - Rebalance id.grpId - Group id.topVer - Topology version.addDepInfo - Add dep info.err - Supply process error.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 GridDhtPartitionSupplyMessagectx - Context.ldr - Class loader.IgniteCheckedException - If failed.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridDhtPartitionSupplyMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridDhtPartitionSupplyMessagebuf - Byte buffer.reader - Reader.@Nullable public @Nullable Throwable error()
error in class GridCacheMessagepublic short directType()
directType in interface MessagedirectType in class GridDhtPartitionSupplyMessagepublic byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridDhtPartitionSupplyMessage
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023