Class MarshalledValueImpl
- java.lang.Object
-
- org.infinispan.marshall.persistence.impl.MarshalledValueImpl
-
- All Implemented Interfaces:
MarshalledValue
@ProtoTypeId(1002) public class MarshalledValueImpl extends Object implements MarshalledValue
A marshallable object that can be used by our internal store implementations to store values, metadata and timestamps.- Since:
- 10.0
- Author:
- Ryan Emerson
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetCreated()org.infinispan.commons.io.ByteBuffergetInternalMetadataBytes()longgetLastUsed()org.infinispan.commons.io.ByteBuffergetMetadataBytes()org.infinispan.commons.io.ByteBuffergetValueBytes()inthashCode()StringtoString()
-
-
-
Method Detail
-
getCreated
@ProtoField(number=3, name="created", defaultValue="-1") public long getCreated()- Specified by:
getCreatedin interfaceMarshalledValue
-
getLastUsed
@ProtoField(number=4, name="lastUsed", defaultValue="-1") public long getLastUsed()- Specified by:
getLastUsedin interfaceMarshalledValue
-
getValueBytes
public org.infinispan.commons.io.ByteBuffer getValueBytes()
- Specified by:
getValueBytesin interfaceMarshalledValue
-
getMetadataBytes
public org.infinispan.commons.io.ByteBuffer getMetadataBytes()
- Specified by:
getMetadataBytesin interfaceMarshalledValue
-
getInternalMetadataBytes
public org.infinispan.commons.io.ByteBuffer getInternalMetadataBytes()
- Specified by:
getInternalMetadataBytesin interfaceMarshalledValue
-
-