Package org.infinispan.persistence.sifs
Class EntryHeader
java.lang.Object
org.infinispan.persistence.sifs.EntryHeader
- Author:
- Radim Vansa <rvansa@redhat.com>
-
Constructor Summary
ConstructorDescriptionEntryHeader
(ByteBuffer buffer) EntryHeader
(ByteBuffer buffer, boolean oldFormat) -
Method Summary
Modifier and TypeMethodDescriptionlong
int
int
int
int
long
seqId()
toString()
int
int
static void
writeHeader
(ByteBuffer buf, short keyLength, short metadataLength, int valueLength, short internalMetadataLength, long seqId, long expiration)
-
Constructor Details
-
EntryHeader
-
EntryHeader
-
-
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
-
totalLength
public int totalLength() -
writeHeader
public static void writeHeader(ByteBuffer buf, short keyLength, short metadataLength, int valueLength, short internalMetadataLength, long seqId, long expiration)
-