Class BackupRequest
java.lang.Object
io.camunda.zeebe.protocol.impl.encoding.BackupRequest
- All Implemented Interfaces:
BufferReader,BufferWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintintgetType()reset()setBackupId(long backupId) setPartitionId(int partitionId) setType(BackupRequestType type) voidwrap(org.agrona.DirectBuffer buffer, int offset, int length) voidwrite(org.agrona.MutableDirectBuffer buffer, int offset) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.util.buffer.BufferReader
copyFrom
-
Constructor Details
-
BackupRequest
public BackupRequest()
-
-
Method Details
-
reset
-
getType
-
setType
-
getPartitionId
public int getPartitionId() -
setPartitionId
-
getBackupId
public long getBackupId() -
setBackupId
-
wrap
public void wrap(org.agrona.DirectBuffer buffer, int offset, int length) - Specified by:
wrapin interfaceBufferReader
-
getLength
public int getLength()- Specified by:
getLengthin interfaceBufferWriter
-
write
public void write(org.agrona.MutableDirectBuffer buffer, int offset) - Specified by:
writein interfaceBufferWriter
-