Interface LogIndex

All Known Implementing Classes:
DefaultLogIndex, RotatingLogIndex

public interface LogIndex
  • Method Details

    • writeLog

      default long writeLog​(byte[] bytes)
    • writeLog

      long writeLog​(byte[] bytes, boolean committed)
    • readLog

      byte[] readLog​(long pos)
    • readLogs

      LogIterator readLogs()
    • readLogs

      LogIterator readLogs​(long pos)
    • readAllLogs

      default java.util.List<byte[]> readAllLogs()
    • getPosition

      long getPosition()
    • isEmpty

      boolean isEmpty()
    • flush

      void flush()
    • close

      void close()
    • drop

      void drop()