Package org.infinispan.marshall.core
Interface MarshalledEntry<K,V>
-
- All Superinterfaces:
MarshallableEntry<K,V>
@Deprecated public interface MarshalledEntry<K,V> extends MarshallableEntry<K,V>
Deprecated.since 10.0, useMarshallableEntry
Defines an externally persisted entry. External stores that keep the data in serialised form should return an MarshalledEntry that contains the data in binary form (ByteBuffer) and unmarshall it lazily when getKey/Value/Metadata are invoked. This approach avoids unnecessary object (de)serialization e.g when the entries are fetched from the external store for the sole purpose of being sent over the wire to another requestor node.- Since:
- 6.0
- Author:
- Mircea Markus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description InternalMetadata
getMetadata()
Deprecated.-
Methods inherited from interface org.infinispan.persistence.spi.MarshallableEntry
asMarshalledEntry, created, expiryTime, getKey, getKeyBytes, getMarshalledValue, getMetadataBytes, getValue, getValueBytes, isExpired, lastUsed
-
-
-
-
Method Detail
-
getMetadata
InternalMetadata getMetadata()
Deprecated.- Specified by:
getMetadata
in interfaceMarshallableEntry<K,V>
- Returns:
- might be null if there's no metadata associated with the object (e.g. expiry info, version..).
-
-