public class GridCheckpointRequest extends Object implements Message
| Constructor and Description |
|---|
GridCheckpointRequest()
Empty constructor required by
Externalizable. |
GridCheckpointRequest(IgniteUuid sesId,
String key,
String cpSpi) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
String |
getCheckpointSpi() |
String |
getKey() |
IgniteUuid |
getSessionId() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridCheckpointRequest()
Externalizable.public GridCheckpointRequest(IgniteUuid sesId, String key, String cpSpi)
sesId - Task session ID.key - Checkpoint key.cpSpi - Checkpoint SPI.public IgniteUuid getSessionId()
public String getKey()
public String getCheckpointSpi()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015