Class EntryHeader

java.lang.Object
org.infinispan.persistence.sifs.EntryHeader

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

    • EntryHeader

      public EntryHeader(ByteBuffer buffer)
    • EntryHeader

      public EntryHeader(ByteBuffer buffer, boolean oldFormat)
  • Method Details

    • 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()
      Overrides:
      toString in class Object
    • totalLength

      public int totalLength()
    • writeHeader

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