public class GridClockDeltaSnapshotMessage extends Object implements Message
| Constructor and Description |
|---|
GridClockDeltaSnapshotMessage()
Empty constructor required by
Externalizable. |
GridClockDeltaSnapshotMessage(GridClockDeltaVersion snapVer,
Map<UUID,Long> deltas) |
| Modifier and Type | Method and Description |
|---|---|
Map<UUID,Long> |
deltas() |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
GridClockDeltaVersion |
snapshotVersion() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridClockDeltaSnapshotMessage()
Externalizable.public GridClockDeltaSnapshotMessage(GridClockDeltaVersion snapVer, Map<UUID,Long> deltas)
snapVer - Snapshot version.deltas - Deltas map.public GridClockDeltaVersion snapshotVersion()
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.9.0 Release Date : March 2 2017