Class WALInfoEntry

  • All Implemented Interfaces:
    SerializedSize

    public class WALInfoEntry
    extends WALEntry
    This entry class stores info for persistence
    • Field Detail

      • FIXED_SERIALIZED_SIZE

        public static final int FIXED_SERIALIZED_SIZE
        wal entry type 1 byte, memTable id 8 bytes
        See Also:
        Constant Field Values
    • Constructor Detail

      • WALInfoEntry

        public WALInfoEntry​(long memTableId,
                            WALEntryValue value,
                            boolean wait)
      • WALInfoEntry

        public WALInfoEntry​(long memTableId,
                            WALEntryValue value)
      • WALInfoEntry

        public WALInfoEntry​(long memTableId,
                            InsertTabletPlan value,
                            int tabletStart,
                            int tabletEnd)
      • WALInfoEntry

        public WALInfoEntry​(long memTableId,
                            InsertTabletNode value,
                            int tabletStart,
                            int tabletEnd)
    • Method Detail

      • serializedSize

        public int serializedSize()
        Description copied from interface: SerializedSize
        Calculate size after serialization.
        Returns:
        bytes number
      • isSignal

        public boolean isSignal()
        Specified by:
        isSignal in class WALEntry