Class EntryHeader


  • public class EntryHeader
    extends Object
    Author:
    Radim Vansa <rvansa@redhat.com>
    • Constructor Detail

      • EntryHeader

        public EntryHeader​(ByteBuffer buffer)
      • EntryHeader

        public EntryHeader​(ByteBuffer buffer,
                           boolean oldFormat)
    • Method Detail

      • keyLength

        public int keyLength()
      • metadataLength

        public int metadataLength()
      • internalMetadataLength

        public int internalMetadataLength()
      • valueLength

        public int valueLength()
      • seqId

        public long seqId()
      • expiryTime

        public long expiryTime()
      • getHeaderLength

        public int getHeaderLength()
      • toString

        public String toString()
      • totalLength

        public int totalLength()
      • writeHeader

        public static void writeHeader​(ByteBuffer buf,
                                       short keyLength,
                                       short metadataLength,
                                       int valueLength,
                                       short internalMetadataLength,
                                       long seqId,
                                       long expiration)