Class AtomixRecordEntrySupplierImpl
- java.lang.Object
-
- io.camunda.zeebe.broker.system.partitions.impl.AtomixRecordEntrySupplierImpl
-
- All Implemented Interfaces:
AtomixRecordEntrySupplier,AutoCloseable
public final class AtomixRecordEntrySupplierImpl extends Object implements AtomixRecordEntrySupplier
-
-
Constructor Summary
Constructors Constructor Description AtomixRecordEntrySupplierImpl(RaftLogReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Optional<IndexedRaftLogEntry>getPreviousIndexedEntry(long position)
-
-
-
Constructor Detail
-
AtomixRecordEntrySupplierImpl
public AtomixRecordEntrySupplierImpl(RaftLogReader reader)
-
-
Method Detail
-
getPreviousIndexedEntry
public Optional<IndexedRaftLogEntry> getPreviousIndexedEntry(long position)
- Specified by:
getPreviousIndexedEntryin interfaceAtomixRecordEntrySupplier
-
close
public void close()
- Specified by:
closein interfaceAtomixRecordEntrySupplier- Specified by:
closein interfaceAutoCloseable
-
-