- All Implemented Interfaces:
- Checkpointed, Journaled, JournalEntryIterable
public class SnapshotIdJournaled
extends SingleEntryJournaled
Simple implementation to write and recover the snapshot ID when checkpointing. The snapshot ID
is a long that represents the sequence number of the last entry that was processed by the
journal. The snapshot ID will be inserted into and retrieved through the
Journal.JournalEntry.Builder#setSequenceNumber(long)
and
Journal.JournalEntry.Builder#getSequenceNumber()
methods, respectively.