public class GridDhtAffinityAssignmentRequest extends GridCacheGroupIdMessage
grpIdaddDepInfo, CACHE_MSG_INDEX_FIELD_NAME, forceAddDepInfo, MAX_CACHE_MSG_LOOKUP_INDEXDIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridDhtAffinityAssignmentRequest()
Empty constructor.
|
GridDhtAffinityAssignmentRequest(long futId,
int grpId,
AffinityTopologyVersion topVer,
boolean sndPartMap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDeploymentInfo()
Deployment enabled flag indicates whether deployment info has to be added to this message.
|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
long |
futureId() |
boolean |
partitionExchangeMessage() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
sendPartitionsState() |
AffinityTopologyVersion |
topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
cacheGroupMessage, groupId, handlerIdappendFlag, classError, deployInfo, error, finishUnmarshal, finishUnmarshalCacheObjects, finishUnmarshalCacheObjects, ignoreClassErrors, lastAffinityChangedTopologyVersion, lastAffinityChangedTopologyVersion, lookupIndex, marshalCollection, marshalInfo, marshalInfos, marshalInvokeArguments, marshalTx, messageId, messageLogger, nextIndexId, onAckReceived, onClassError, partition, prepare, prepareMarshal, prepareMarshalCacheObject, prepareMarshalCacheObjects, prepareMarshalCacheObjects, prepareObject, prepareObject, transferExpiryPolicy, unmarshalCollection, unmarshalInfo, unmarshalInfos, unmarshalInvokeArguments, unmarshalTxpublic GridDhtAffinityAssignmentRequest()
public GridDhtAffinityAssignmentRequest(long futId,
int grpId,
AffinityTopologyVersion topVer,
boolean sndPartMap)
futId - Future ID.grpId - Cache group ID.topVer - Topology version.sndPartMap - True if need send in response cache partitions state.public boolean sendPartitionsState()
True if need send in response cache partitions state.public long futureId()
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.public AffinityTopologyVersion topologyVersion()
GridCacheMessagetopologyVersion in class GridCacheMessagepublic short directType()
public byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridCacheGroupIdMessagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridCacheGroupIdMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridCacheGroupIdMessagebuf - Byte buffer.reader - Reader.public String toString()
toString in class GridCacheGroupIdMessage
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020