Uses of Interface
org.infinispan.container.entries.InternalCacheEntry
-
Packages that use InternalCacheEntry Package Description org.infinispan.container Package that contains the interface describing the underlyling API for storage in Infinispanorg.infinispan.container.entries Entries which are stored in data containers.org.infinispan.container.entries.metadata org.infinispan.container.offheap org.infinispan.context Contexts contain information of a specific invocation on the cache, such as its origins, scope (transactional or non-transactional), as well as invocation-specific flags.org.infinispan.distribution Classes relating to the distributed cache mode.org.infinispan.eviction Classes related to eviction.org.infinispan.expiration Cache expiration.org.infinispan.interceptors.distribution Interceptors dealing with command replication in distributed/replicated mode.org.infinispan.notifications.cachelistener Cache
-specific notifications and eventing.org.infinispan.persistence Persistence API.org.infinispan.persistence.internal org.infinispan.rest.operations REST Server Operations classes.org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.util General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and collections and containers designed to supplement the JDK-provided containers.org.infinispan.xsite.statetransfer -
-
Uses of InternalCacheEntry in org.infinispan.container
Methods in org.infinispan.container that return InternalCacheEntry Modifier and Type Method Description InternalCacheEntry<K,V>
DataContainer. compute(K key, DataContainer.ComputeAction<K,V> action)
Computes the new value for the key.InternalCacheEntry<K,V>
DataContainer.ComputeAction. compute(K key, InternalCacheEntry<K,V> oldEntry, org.infinispan.container.impl.InternalEntryFactory factory)
Computes the new value for the key.InternalCacheEntry<K,V>
DataContainer. get(Object k)
Retrieves a cached entryInternalCacheEntry<K,V>
DataContainer. peek(Object k)
Retrieves a cache entry in the same way asDataContainer.get(Object)
} except that it does not update or reorder any of the internal constructs.InternalCacheEntry<K,V>
DataContainer. remove(Object k)
Removes an entry from the cacheMethods in org.infinispan.container that return types with arguments of type InternalCacheEntry Modifier and Type Method Description default Set<InternalCacheEntry<K,V>>
DataContainer. entrySet()
Deprecated.Please use iterator method if bulk operations are required.Iterator<InternalCacheEntry<K,V>>
DataContainer. iterator()
Iterator<InternalCacheEntry<K,V>>
DataContainer. iteratorIncludingExpired()
Same asDataContainer.iterator()
except that is also returns expired entries.default Spliterator<InternalCacheEntry<K,V>>
DataContainer. spliterator()
default Spliterator<InternalCacheEntry<K,V>>
DataContainer. spliteratorIncludingExpired()
Same asDataContainer.spliterator()
except that is also returns expired entries.Methods in org.infinispan.container with parameters of type InternalCacheEntry Modifier and Type Method Description InternalCacheEntry<K,V>
DataContainer.ComputeAction. compute(K key, InternalCacheEntry<K,V> oldEntry, org.infinispan.container.impl.InternalEntryFactory factory)
Computes the new value for the key.Method parameters in org.infinispan.container with type arguments of type InternalCacheEntry Modifier and Type Method Description default void
DataContainer. executeTask(KeyFilter<? super K> filter, BiConsumer<? super K,InternalCacheEntry<K,V>> action)
Deprecated.since 9.3 Please use theDataContainer.iterator()
method and apply filtering manuallydefault void
DataContainer. executeTask(KeyValueFilter<? super K,? super V> filter, BiConsumer<? super K,InternalCacheEntry<K,V>> action)
Deprecated.since 9.3 Please use theDataContainer.iterator()
method and apply filtering manually -
Uses of InternalCacheEntry in org.infinispan.container.entries
Classes in org.infinispan.container.entries that implement InternalCacheEntry Modifier and Type Class Description class
AbstractInternalCacheEntry
An abstract internal cache entry that is typically stored in the data containerclass
ImmortalCacheEntry
A cache entry that is immortal/cannot expireclass
L1InternalCacheEntry
AInternalCacheEntry
implementation to store a L1 entry.class
MortalCacheEntry
A cache entry that is mortal.class
TransientCacheEntry
A cache entry that is transient, i.e., it can be considered expired after a period of not being used.class
TransientMortalCacheEntry
A cache entry that is both transient and mortal.Methods in org.infinispan.container.entries that return InternalCacheEntry Modifier and Type Method Description InternalCacheEntry<K,V>
InternalCacheEntry. clone()
InternalCacheEntry
ImmortalCacheValue. toInternalCacheEntry(Object key)
<K> InternalCacheEntry<K,V>
InternalCacheValue. toInternalCacheEntry(K key)
InternalCacheEntry
MortalCacheValue. toInternalCacheEntry(Object key)
InternalCacheEntry
TransientCacheValue. toInternalCacheEntry(Object key)
InternalCacheEntry
TransientMortalCacheValue. toInternalCacheEntry(Object key)
Methods in org.infinispan.container.entries with parameters of type InternalCacheEntry Modifier and Type Method Description long
CacheEntrySizeCalculator. calculateSize(K key, InternalCacheEntry<K,V> ice)
-
Uses of InternalCacheEntry in org.infinispan.container.entries.metadata
Classes in org.infinispan.container.entries.metadata that implement InternalCacheEntry Modifier and Type Class Description class
L1MetadataInternalCacheEntry
AInternalCacheEntry
implementation to store a L1 entry.class
MetadataImmortalCacheEntry
A form ofImmortalCacheEntry
that isMetadataAware
class
MetadataMortalCacheEntry
A cache entry that is mortal and isMetadataAware
class
MetadataTransientCacheEntry
A cache entry that is transient, i.e., it can be considered expired after a period of not being used, andMetadataAware
class
MetadataTransientMortalCacheEntry
A form ofTransientMortalCacheEntry
that isVersioned
Methods in org.infinispan.container.entries.metadata that return InternalCacheEntry Modifier and Type Method Description InternalCacheEntry
MetadataImmortalCacheValue. toInternalCacheEntry(Object key)
InternalCacheEntry
MetadataMortalCacheValue. toInternalCacheEntry(Object key)
InternalCacheEntry
MetadataTransientCacheValue. toInternalCacheEntry(Object key)
InternalCacheEntry
MetadataTransientMortalCacheValue. toInternalCacheEntry(Object key)
-
Uses of InternalCacheEntry in org.infinispan.container.offheap
Fields in org.infinispan.container.offheap with type parameters of type InternalCacheEntry Modifier and Type Field Description protected List<Consumer<Iterable<InternalCacheEntry<WrappedBytes,WrappedBytes>>>>
BoundedOffHeapDataContainer. listeners
Methods in org.infinispan.container.offheap with parameters of type InternalCacheEntry Modifier and Type Method Description InternalCacheEntry<WrappedBytes,WrappedBytes>
OffHeapConcurrentMap. put(WrappedBytes key, InternalCacheEntry<WrappedBytes,WrappedBytes> value)
InternalCacheEntry<WrappedBytes,WrappedBytes>
OffHeapConcurrentMap. putIfAbsent(WrappedBytes key, InternalCacheEntry<WrappedBytes,WrappedBytes> value)
InternalCacheEntry<WrappedBytes,WrappedBytes>
OffHeapConcurrentMap. replace(WrappedBytes key, InternalCacheEntry<WrappedBytes,WrappedBytes> value)
boolean
OffHeapConcurrentMap. replace(WrappedBytes key, InternalCacheEntry<WrappedBytes,WrappedBytes> oldValue, InternalCacheEntry<WrappedBytes,WrappedBytes> newValue)
-
Uses of InternalCacheEntry in org.infinispan.context
Methods in org.infinispan.context with parameters of type InternalCacheEntry Modifier and Type Method Description default boolean
InvocationContext. replaceValue(Object key, InternalCacheEntry cacheEntry)
Deprecated.Since 8.1, useEntryFactory.wrapExternalEntry(InvocationContext, Object, CacheEntry, boolean, boolean)
instead. -
Uses of InternalCacheEntry in org.infinispan.distribution
Methods in org.infinispan.distribution with parameters of type InternalCacheEntry Modifier and Type Method Description void
RemoteValueRetrievedListener. remoteValueFound(InternalCacheEntry ice)
Invoked when a remote value is found from a remote source -
Uses of InternalCacheEntry in org.infinispan.eviction
Methods in org.infinispan.eviction with parameters of type InternalCacheEntry Modifier and Type Method Description void
PassivationManager. passivate(InternalCacheEntry entry)
Method parameters in org.infinispan.eviction with type arguments of type InternalCacheEntry Modifier and Type Method Description void
EvictionManager. onEntryEviction(Map<? extends K,InternalCacheEntry<? extends K,? extends V>> evicted)
Handles notifications of evicted entries -
Uses of InternalCacheEntry in org.infinispan.expiration
Methods in org.infinispan.expiration with parameters of type InternalCacheEntry Modifier and Type Method Description void
ExpirationManager. handleInMemoryExpiration(InternalCacheEntry<K,V> entry, long currentTime)
Deprecated.since 9.3 this method is not intended for external use -
Uses of InternalCacheEntry in org.infinispan.interceptors.distribution
Methods in org.infinispan.interceptors.distribution with parameters of type InternalCacheEntry Modifier and Type Method Description void
L1WriteSynchronizer. runL1UpdateIfPossible(InternalCacheEntry ice)
Attempts to the L1 update and set the value. -
Uses of InternalCacheEntry in org.infinispan.notifications.cachelistener
Method parameters in org.infinispan.notifications.cachelistener with type arguments of type InternalCacheEntry Modifier and Type Method Description void
CacheNotifier. notifyCacheEntriesEvicted(Collection<InternalCacheEntry<? extends K,? extends V>> entries, InvocationContext ctx, FlagAffectedCommand command)
Notifies all registered listeners of aCacheEntriesEvictedEvent
event.void
CacheNotifierImpl. notifyCacheEntriesEvicted(Collection<InternalCacheEntry<? extends K,? extends V>> entries, InvocationContext ctx, FlagAffectedCommand command)
-
Uses of InternalCacheEntry in org.infinispan.persistence
Methods in org.infinispan.persistence that return InternalCacheEntry Modifier and Type Method Description static <K,V>
InternalCacheEntry<K,V>PersistenceUtil. convert(MarshalledEntry<K,V> loaded, org.infinispan.container.impl.InternalEntryFactory factory)
static <K,V>
InternalCacheEntry<K,V>PersistenceUtil. loadAndComputeInDataContainer(DataContainer<K,V> dataContainer, int segment, PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, DataContainer.ComputeAction<K,V> action)
Deprecated.since 9.4 This method references PersistenceManager, which isn't a public classstatic <K,V>
InternalCacheEntry<K,V>PersistenceUtil. loadAndStoreInDataContainer(DataContainer<K,V> dataContainer, int segment, PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, AtomicReference<Boolean> isLoaded)
Deprecated.since 9.4 This method references PersistenceManager, which isn't a public classstatic <K,V>
InternalCacheEntry<K,V>PersistenceUtil. loadAndStoreInDataContainer(DataContainer<K,V> dataContainer, PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, AtomicReference<Boolean> isLoaded)
Deprecated.since 9.4 This method references PersistenceManager, which isn't a public classMethods in org.infinispan.persistence that return types with arguments of type InternalCacheEntry Modifier and Type Method Description static <K,V>
Set<InternalCacheEntry<K,V>>PersistenceUtil. toEntrySet(AdvancedCacheLoader<K,V> acl, Predicate<? super K> filter, org.infinispan.container.impl.InternalEntryFactory ief)
static <K,V>
Set<InternalCacheEntry>PersistenceUtil. toEntrySet(AdvancedCacheLoader<K,V> acl, KeyFilter<? super K> filter, org.infinispan.container.impl.InternalEntryFactory ief)
Deprecated.Methods in org.infinispan.persistence with parameters of type InternalCacheEntry Modifier and Type Method Description static InternalMetadata
PersistenceUtil. internalMetadata(InternalCacheEntry ice)
-
Uses of InternalCacheEntry in org.infinispan.persistence.internal
Methods in org.infinispan.persistence.internal that return InternalCacheEntry Modifier and Type Method Description static <K,V>
InternalCacheEntry<K,V>PersistenceUtil. convert(MarshalledEntry<K,V> loaded, org.infinispan.container.impl.InternalEntryFactory factory)
static <K,V>
InternalCacheEntry<K,V>PersistenceUtil. loadAndComputeInDataContainer(DataContainer<K,V> dataContainer, int segment, PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, DataContainer.ComputeAction<K,V> action)
static <K,V>
InternalCacheEntry<K,V>PersistenceUtil. loadAndStoreInDataContainer(DataContainer<K,V> dataContainer, int segment, PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, AtomicReference<Boolean> isLoaded)
static <K,V>
InternalCacheEntry<K,V>PersistenceUtil. loadAndStoreInDataContainer(DataContainer<K,V> dataContainer, PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, AtomicReference<Boolean> isLoaded)
-
Uses of InternalCacheEntry in org.infinispan.rest.operations
Methods in org.infinispan.rest.operations with parameters of type InternalCacheEntry Modifier and Type Method Description static <K,V>
DateCacheOperationsHelper. lastModified(InternalCacheEntry<K,V> ice)
-
Uses of InternalCacheEntry in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer that return InternalCacheEntry Modifier and Type Method Description static InternalCacheEntry
OutboundTransferTask. defaultMapEntryFromDataContainer(InternalCacheEntry ice, org.infinispan.container.impl.InternalEntryFactory entryFactory)
static InternalCacheEntry
OutboundTransferTask. defaultMapEntryFromStore(MarshalledEntry me, org.infinispan.container.impl.InternalEntryFactory entryFactory)
Methods in org.infinispan.statetransfer that return types with arguments of type InternalCacheEntry Modifier and Type Method Description Collection<InternalCacheEntry>
StateChunk. getCacheEntries()
Methods in org.infinispan.statetransfer with parameters of type InternalCacheEntry Modifier and Type Method Description static InternalCacheEntry
OutboundTransferTask. defaultMapEntryFromDataContainer(InternalCacheEntry ice, org.infinispan.container.impl.InternalEntryFactory entryFactory)
Constructor parameters in org.infinispan.statetransfer with type arguments of type InternalCacheEntry Constructor Description OutboundTransferTask(Address destination, IntSet segments, int segmentCount, int chunkSize, int topologyId, KeyPartitioner keyPartitioner, Consumer<OutboundTransferTask> onCompletion, Consumer<List<StateChunk>> onChunkReplicated, BiFunction<InternalCacheEntry,org.infinispan.container.impl.InternalEntryFactory,InternalCacheEntry> mapEntryFromDataContainer, BiFunction<MarshalledEntry,org.infinispan.container.impl.InternalEntryFactory,InternalCacheEntry> mapEntryFromStore, org.infinispan.container.impl.InternalDataContainer dataContainer, PersistenceManager persistenceManager, RpcManager rpcManager, CommandsFactory commandsFactory, org.infinispan.container.impl.InternalEntryFactory ef, long timeout, String cacheName, boolean applyState, boolean pushTransfer)
OutboundTransferTask(Address destination, IntSet segments, int segmentCount, int chunkSize, int topologyId, KeyPartitioner keyPartitioner, Consumer<OutboundTransferTask> onCompletion, Consumer<List<StateChunk>> onChunkReplicated, BiFunction<InternalCacheEntry,org.infinispan.container.impl.InternalEntryFactory,InternalCacheEntry> mapEntryFromDataContainer, BiFunction<MarshalledEntry,org.infinispan.container.impl.InternalEntryFactory,InternalCacheEntry> mapEntryFromStore, org.infinispan.container.impl.InternalDataContainer dataContainer, PersistenceManager persistenceManager, RpcManager rpcManager, CommandsFactory commandsFactory, org.infinispan.container.impl.InternalEntryFactory ef, long timeout, String cacheName, boolean applyState, boolean pushTransfer)
StateChunk(int segmentId, Collection<InternalCacheEntry> cacheEntries, boolean isLastChunk)
-
Uses of InternalCacheEntry in org.infinispan.util
Methods in org.infinispan.util that return InternalCacheEntry Modifier and Type Method Description static <K,V>
InternalCacheEntry<K,V>CoreImmutables. immutableInternalCacheEntry(InternalCacheEntry<K,V> entry)
Wraps aInternalCacheEntry
} with an immutableInternalCacheEntry
}.Methods in org.infinispan.util with parameters of type InternalCacheEntry Modifier and Type Method Description static <K,V>
InternalCacheEntry<K,V>CoreImmutables. immutableInternalCacheEntry(InternalCacheEntry<K,V> entry)
Wraps aInternalCacheEntry
} with an immutableInternalCacheEntry
}. -
Uses of InternalCacheEntry in org.infinispan.xsite.statetransfer
Methods in org.infinispan.xsite.statetransfer with parameters of type InternalCacheEntry Modifier and Type Method Description static XSiteState
XSiteState. fromDataContainer(InternalCacheEntry entry)
-