Interface MetadataAware
- All Known Subinterfaces:
CacheEntry<K,
,V> InternalCacheEntry<K,
,V> MVCCEntry<K,
V>
- All Known Implementing Classes:
AbstractInternalCacheEntry
,ClearCacheEntry
,EntryWrapper
,ForwardingCacheEntry
,ImmortalCacheEntry
,L1InternalCacheEntry
,L1MetadataInternalCacheEntry
,MetadataImmortalCacheEntry
,MetadataImmortalCacheValue
,MetadataMortalCacheEntry
,MetadataMortalCacheValue
,MetadataTransientCacheEntry
,MetadataTransientCacheValue
,MetadataTransientMortalCacheEntry
,MetadataTransientMortalCacheValue
,MortalCacheEntry
,NullCacheEntry
,ReadCommittedEntry
,RepeatableReadEntry
,TransientCacheEntry
,TransientMortalCacheEntry
,VersionedRepeatableReadEntry
public interface MetadataAware
Marker interface for metadata aware cache entry.
- Since:
- 5.3
- Author:
- Galder ZamarreƱo
-
Method Summary
Modifier and TypeMethodDescriptionGet metadata of this cache entry.void
setMetadata
(Metadata metadata) Set the metadata in the cache entry.
-
Method Details
-
getMetadata
Metadata getMetadata()Get metadata of this cache entry.- Returns:
- a Metadata instance
-
setMetadata
Set the metadata in the cache entry.- Parameters:
metadata
- to apply to the cache entry
-