Class LogMark


  • public class LogMark
    extends java.lang.Object
    Journal stream position.
    • Field Detail

      • logFileId

        long logFileId
      • logFileOffset

        long logFileOffset
      • MAX_VALUE

        public static final LogMark MAX_VALUE
    • Constructor Detail

      • LogMark

        public LogMark()
      • LogMark

        public LogMark​(LogMark other)
      • LogMark

        public LogMark​(long logFileId,
                       long logFileOffset)
    • Method Detail

      • getLogFileId

        public long getLogFileId()
      • getLogFileOffset

        public long getLogFileOffset()
      • readLogMark

        public void readLogMark​(java.nio.ByteBuffer bb)
      • writeLogMark

        public void writeLogMark​(java.nio.ByteBuffer bb)
      • setLogMark

        public void setLogMark​(long logFileId,
                               long logFileOffset)
      • compare

        public int compare​(LogMark other)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object