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() |
void |
onAckReceived()
Method called when ack message received.
|
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 void onAckReceived()
onAckReceived in interface Messagepublic 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.7.0 Release Date : August 1 2016