Package org.infinispan.persistence.sifs
Class EntryHeader
- java.lang.Object
-
- org.infinispan.persistence.sifs.EntryHeader
-
public class EntryHeader extends Object
- Author:
- Radim Vansa <rvansa@redhat.com>
-
-
Constructor Summary
Constructors Constructor Description EntryHeader(ByteBuffer buffer)
EntryHeader(ByteBuffer buffer, boolean oldFormat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
expiryTime()
int
getHeaderLength()
int
internalMetadataLength()
int
keyLength()
int
metadataLength()
long
seqId()
String
toString()
int
totalLength()
int
valueLength()
static void
writeHeader(ByteBuffer buf, short keyLength, short metadataLength, int valueLength, short internalMetadataLength, long seqId, long expiration)
-
-
-
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)
-
-