public class StatisticsRequest extends Object implements Message
| Modifier and Type | Field and Description |
|---|---|
static short |
TYPE_CODE |
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
StatisticsRequest()
Constructor.
|
StatisticsRequest(UUID reqId,
StatisticsKeyMessage key,
StatisticsType type,
AffinityTopologyVersion topVer,
Map<String,Long> versions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
StatisticsKeyMessage |
key() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
UUID |
reqId()
Request id.
|
AffinityTopologyVersion |
topVer() |
String |
toString() |
StatisticsType |
type() |
Map<String,Long> |
versions() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public static final short TYPE_CODE
public StatisticsRequest()
public StatisticsRequest(UUID reqId, StatisticsKeyMessage key, StatisticsType type, AffinityTopologyVersion topVer, Map<String,Long> versions)
reqId - Request id.key - Statistics key to get statistics by.type - Required statistics type.topVer - Topology version to get statistics by.versions - Map of statistics version to column name to ensure actual statistics aquired.public UUID reqId()
public StatisticsType type()
public StatisticsKeyMessage key()
public AffinityTopologyVersion topVer()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic void onAckReceived()
onAckReceived in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023