Entries which are stored in data containers. This package contains different implementations of entries based on the information needed to store an entry. Certain entries need more information - such as timestamps and lifespans, if they are used - than others, and the appropriate implementation is selected dynamically. This helps minimize Infinispan's memory requirements without storing unnecessary metadata.
Interface Summary Interface Description CacheEntry<K,V>An entry that is stored in the data container InternalCacheEntry<K,V>Interface for internal cache entries that expose whether an entry has expired. InternalCacheValue<V>A representation of an InternalCacheEntry that does not have a reference to the key. MVCCEntry<K,V>An entry that can be safely copied when updates are made, to provide MVCC semantics StateChangingEntry Deprecated.since 9.0
Class Summary Class Description AbstractInternalCacheEntryAn abstract internal cache entry that is typically stored in the data container CacheEntrySizeCalculator<K,V>Implementation of a size calculator that calcultes only the size of the value assuming it is an InternalCacheEntry. ClearCacheEntry<K,V>Used in
ClearInvocationContextto process the
ExpiryHelperProvide utility methods for dealing with expiration of cache entries. ForwardingCacheEntry<K,V>A class designed to forward all method invocations for a CacheEntry to the provided delegate. ImmortalCacheEntryA cache entry that is immortal/cannot expire ImmortalCacheEntry.Externalizer ImmortalCacheValueAn immortal cache value, to correspond with
InternalCacheEntryimplementation to store a L1 entry.
MortalCacheEntryA cache entry that is mortal. MortalCacheEntry.Externalizer MortalCacheValueA mortal cache value, to correspond with
MortalCacheValue.Externalizer NullCacheEntry<K,V> PrimitiveEntrySizeCalculatorEntry Size calculator that returns an approximation of how much various primitives, primitive wrappers, Strings, and arrays ReadCommittedEntryA wrapper around a cached entry that encapsulates read committed semantics when writes are initiated, committed or rolled back. RemoteMetadataThis is a metadata type used by scattered cache during state transfer. RemoteMetadata.Externalizer RepeatableReadEntryAn extension of
ReadCommittedEntrythat provides Repeatable Read semantics
TransientCacheEntryA cache entry that is transient, i.e., it can be considered expired after a period of not being used. TransientCacheEntry.Externalizer TransientCacheValueA transient cache value, to correspond with
TransientCacheValue.Externalizer TransientMortalCacheEntryA cache entry that is both transient and mortal. TransientMortalCacheEntry.Externalizer TransientMortalCacheValueA transient, mortal cache value to correspond with
TransientMortalCacheValue.Externalizer VersionedRepeatableReadEntryA version of RepeatableReadEntry that can perform write-skew checks during prepare.
Enum Summary Enum Description ReadCommittedEntry.Flags