public class BackupRequestMessage extends Object implements io.atomix.catalyst.serializer.CatalystSerializable
Constructor and Description |
---|
BackupRequestMessage()
Empty constructor as per deserialization requirement.
|
BackupRequestMessage(UUID backupId,
BackupPRequest request,
Map<String,Long> journalSequences)
Creates a backup request message.
|
Modifier and Type | Method and Description |
---|---|
UUID |
getBackupId() |
BackupPRequest |
getBackupRequest() |
Map<String,Long> |
getJournalSequences() |
void |
readObject(io.atomix.catalyst.buffer.BufferInput<?> bufferInput,
io.atomix.catalyst.serializer.Serializer serializer) |
String |
toString() |
void |
writeObject(io.atomix.catalyst.buffer.BufferOutput<?> bufferOutput,
io.atomix.catalyst.serializer.Serializer serializer) |
public BackupRequestMessage()
public BackupRequestMessage(UUID backupId, BackupPRequest request, Map<String,Long> journalSequences)
backupId
- the unique backup idrequest
- client backup requestjournalSequences
- consistent journal sequencespublic UUID getBackupId()
public BackupPRequest getBackupRequest()
public Map<String,Long> getJournalSequences()
public void writeObject(io.atomix.catalyst.buffer.BufferOutput<?> bufferOutput, io.atomix.catalyst.serializer.Serializer serializer)
writeObject
in interface io.atomix.catalyst.serializer.CatalystSerializable
public void readObject(io.atomix.catalyst.buffer.BufferInput<?> bufferInput, io.atomix.catalyst.serializer.Serializer serializer)
readObject
in interface io.atomix.catalyst.serializer.CatalystSerializable
Copyright © 2023. All Rights Reserved.