Class DefaultLogIndex

java.lang.Object
org.teamapps.universaldb.index.log.DefaultLogIndex
All Implemented Interfaces:
LogIndex

public class DefaultLogIndex
extends java.lang.Object
implements LogIndex
  • Constructor Summary

    Constructors
    Constructor Description
    DefaultLogIndex​(java.io.File basePath, java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    void drop()  
    void flush()  
    long getPosition()  
    boolean isEmpty()  
    byte[] readLog​(long pos)  
    LogIterator readLogs()  
    LogIterator readLogs​(long pos)  
    long writeLog​(byte[] bytes, boolean committed)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.teamapps.universaldb.index.log.LogIndex

    readAllLogs, writeLog
  • Constructor Details

    • DefaultLogIndex

      public DefaultLogIndex​(java.io.File basePath, java.lang.String name)
  • Method Details