public class SnapshotFilesRequestMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static short |
TYPE_CODE
Snapshot request message type (value is
178). |
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
SnapshotFilesRequestMessage()
Empty constructor required for
Externalizable. |
SnapshotFilesRequestMessage(String reqId,
UUID requestId,
String snpName,
@Nullable String snpPath,
Map<Integer,Set<Integer>> parts) |
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
String |
id() |
void |
onAckReceived()
Method called when ack message received.
|
Map<Integer,Set<Integer>> |
parts() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
UUID |
requestId() |
String |
snapshotName() |
String |
snapshotPath() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public static final short TYPE_CODE
178).public SnapshotFilesRequestMessage()
Externalizable.public SnapshotFilesRequestMessage(String reqId, UUID requestId, String snpName, @Nullable @Nullable String snpPath, Map<Integer,Set<Integer>> parts)
reqId - Unique message id.requestId - Snapshot operation request ID.snpName - Snapshot name to request.snpPath - Snapshot directory path.parts - Map of cache group ids and corresponding set of its partition ids to be snapshot.public Map<Integer,Set<Integer>> parts()
public String snapshotName()
public String snapshotPath()
public UUID requestId()
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte fieldsCount()
public short directType()
public String toString()
public String id()
public void onAckReceived()
onAckReceived in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023