Package io.camunda.zeebe.journal.record
Class JournalRecordReaderUtil
java.lang.Object
io.camunda.zeebe.journal.record.JournalRecordReaderUtil
Common methods used by SegmentWriter and SegmentReader to read records from a buffer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(ByteBuffer buffer, long expectedIndex) Reads the JournalRecord in the buffer at the current position.
-
Constructor Details
-
JournalRecordReaderUtil
-
-
Method Details
-
read
Reads the JournalRecord in the buffer at the current position. After the methods returns, the position ofbufferwill be advanced to the next record.
-