Class RollingEventLogSection


  • public class RollingEventLogSection
    extends java.lang.Object
    INTERNAL API
    • Constructor Detail

      • RollingEventLogSection

        public RollingEventLogSection​(java.nio.channels.FileChannel fileChannel,
                                      long offset,
                                      long entryCount,
                                      long logBufferSize,
                                      int recordSize)
    • Method Detail

      • HeadPointerOffset

        public static long HeadPointerOffset()
      • LogStateOffset

        public static long LogStateOffset()
      • RecordsOffset

        public static long RecordsOffset()
      • LogOffset

        public static long LogOffset()
      • Empty

        public static int Empty()
      • Live

        public static int Live()
      • Snapshot

        public static int Snapshot()
      • Committed

        public static int Committed()
      • Dirty

        public static int Dirty()
      • CommitEntrySize

        public static int CommitEntrySize()
      • clear

        public void clear​(int logId)
      • write

        public void write​(int logId,
                          java.nio.ByteBuffer recordBuffer)
      • markSnapshot

        public void markSnapshot​(int logId)
      • markLive

        public void markLive​(int logId)
      • close

        public void close()