Package org.infinispan.container.entries
package org.infinispan.container.entries
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.
-
ClassDescriptionAn abstract internal cache entry that is typically stored in the data containerCacheEntry<K,
V> An entry that is stored in the data containerImplementation of a size calculator that calculates only the size of the value assuming it is an InternalCacheEntry.ClearCacheEntry<K,V> Used inClearInvocationContext
to process theClearCommand
.Provide 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.A cache entry that is immortal/cannot expireAn immortal cache value, to correspond withImmortalCacheEntry
InternalCacheEntry<K,V> Interface for internal cache entries that expose whether an entry has expired.A representation of an InternalCacheEntry that does not have a reference to the key.AInternalCacheEntry
implementation to store a L1 entry.A cache entry that is mortal.A mortal cache value, to correspond withMortalCacheEntry
MVCCEntry<K,V> An entry that can be safely copied when updates are made, to provide MVCC semanticsNullCacheEntry<K,V> Entry Size calculator that returns an approximation of how much various primitives, primitive wrappers, Strings, and arraysReadCommittedEntry<K,V> A wrapper around a cached entry that encapsulates read committed semantics when writes are initiated, committed or rolled back.This is a metadata type used by scattered cache during state transfer.WARNING: Generated code! Do not edit!RepeatableReadEntry<K,V> An extension ofReadCommittedEntry
that provides Repeatable Read semanticsA cache entry that is transient, i.e., it can be considered expired after a period of not being used.A transient cache value, to correspond withTransientCacheEntry
A cache entry that is both transient and mortal.A transient, mortal cache value to correspond withTransientMortalCacheEntry
A version of RepeatableReadEntry that can perform write-skew checks during prepare.