public class IgniteDiagnosticMessage extends Object implements Message
Modifier and Type | Class and Description |
---|---|
static class |
IgniteDiagnosticMessage.DiagnosticBaseClosure |
static class |
IgniteDiagnosticMessage.ExchangeInfoClosure |
static class |
IgniteDiagnosticMessage.TxEntriesInfoClosure |
static class |
IgniteDiagnosticMessage.TxInfoClosure |
DIRECT_TYPE_SIZE
Constructor and Description |
---|
IgniteDiagnosticMessage()
Required by
GridIoMessageFactory . |
Modifier and Type | Method and Description |
---|---|
static IgniteDiagnosticMessage |
createRequest(Marshaller marsh,
IgniteClosure<GridKernalContext,IgniteDiagnosticInfo> c,
long futId) |
static IgniteDiagnosticMessage |
createResponse(byte[] resBytes,
long futId) |
short |
directType()
Gets message type.
|
static IgniteInternalFuture<String> |
dumpCommunicationInfo(GridKernalContext ctx,
UUID nodeId) |
byte |
fieldsCount()
Gets fields count.
|
long |
futureId() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
request() |
String |
toString() |
<T> T |
unmarshal(Marshaller marsh) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public IgniteDiagnosticMessage()
GridIoMessageFactory
.public static IgniteDiagnosticMessage createRequest(Marshaller marsh, IgniteClosure<GridKernalContext,IgniteDiagnosticInfo> c, long futId) throws IgniteCheckedException
marsh
- Marshaller.c
- Closure to run.futId
- Future ID.IgniteCheckedException
- If failed.public static IgniteDiagnosticMessage createResponse(byte[] resBytes, long futId)
resBytes
- Marshalled result.futId
- Future ID.@Nullable public <T> T unmarshal(Marshaller marsh) throws IgniteCheckedException
marsh
- Marshaller.IgniteCheckedException
- If failed.public long futureId()
public boolean request()
True
if this is request message.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
public void onAckReceived()
onAckReceived
in interface Message
public static IgniteInternalFuture<String> dumpCommunicationInfo(GridKernalContext ctx, UUID nodeId)
ctx
- Context.nodeId
- Target node ID.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019