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 Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic void onAckReceived()
onAckReceived in interface Messagepublic static IgniteInternalFuture<String> dumpCommunicationInfo(GridKernalContext ctx, UUID nodeId)
ctx - Context.nodeId - Target node ID.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017