Interface AtomixRecordEntrySupplier
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
AtomixRecordEntrySupplierImpl
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AtomixRecordEntrySupplier extends AutoCloseable
Implementations of this interface should return the previousof a RaftLogEntry that contains aApplicationEntrywith the given position.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidclose()Optional<IndexedRaftLogEntry>getPreviousIndexedEntry(long position)
-
-
-
Method Detail
-
getPreviousIndexedEntry
Optional<IndexedRaftLogEntry> getPreviousIndexedEntry(long position)
-
close
default void close()
- Specified by:
closein interfaceAutoCloseable
-
-