public interface MarshallableEntry<K,V>
| Modifier and Type | Method and Description |
|---|---|
long |
created() |
long |
expiryTime() |
PrivateMetadata |
getInternalMetadata() |
ByteBuffer |
getInternalMetadataBytes() |
K |
getKey()
Returns the same key as
getKeyBytes(), but unmarshalled. |
ByteBuffer |
getKeyBytes()
Returns the key in serialized format.
|
MarshalledValue |
getMarshalledValue() |
Metadata |
getMetadata() |
ByteBuffer |
getMetadataBytes() |
V |
getValue()
Returns the same value as
getKeyBytes(), but unmarshalled. |
ByteBuffer |
getValueBytes()
Returns the value in serialize format.
|
boolean |
isExpired(long now) |
long |
lastUsed() |
ByteBuffer getKeyBytes()
ByteBuffer getValueBytes()
ByteBuffer getMetadataBytes()
ByteBuffer getInternalMetadataBytes()
null if there is no internal metadata associated with the object.K getKey()
getKeyBytes(), but unmarshalled.V getValue()
getKeyBytes(), but unmarshalled.Metadata getMetadata()
PrivateMetadata getInternalMetadata()
null if there is no internal metadata associated with the object.long created()
long lastUsed()
boolean isExpired(long now)
long expiryTime()
MarshalledValue getMarshalledValue()
Copyright © 2022 JBoss by Red Hat. All rights reserved.