Uses of Interface
org.infinispan.container.entries.CacheEntry
Packages that use CacheEntry
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
Commands that operate on the cache, either locally or remotely.
This package contains the APIs that enable users to search for, and amend, data inconsistencies within their cache.
Entries which are stored in data containers.
Data containers which store cache entries.
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.
This package contains different context implementations, selected dynamically based on the type of invocation.
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
Metadata interfaces
Embedded Multimap Cache.
Cache-specific notifications and eventing.Cache stream processing.
XA transaction support.
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.
-
Uses of CacheEntry in org.infinispan
Methods in org.infinispan that return CacheEntryModifier and TypeMethodDescriptionCacheEntry<K,V> AdvancedCache.getCacheEntry(Object key) Retrieves a CacheEntry corresponding to a specific key.Methods in org.infinispan that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionCacheSet<CacheEntry<K,V>> AdvancedCache.cacheEntrySet()Identical toCache.entrySet()but is typed to return CacheEntries instead of Entries.Map<K,CacheEntry<K, V>> AdvancedCache.getAllCacheEntries(Set<?> keys) Gets a collection of entries from theAdvancedCache, returning them asMapof the cache entries associated with the set of keys requested.default CompletableFuture<CacheEntry<K,V>> AdvancedCache.getCacheEntryAsync(Object key) Retrieves a CacheEntry corresponding to a specific key.Iterator<CacheEntry<K,V>> LockedStream.iterator()This method is not supported when using aLockedStreamAdvancedCache.putAsyncEntry(K key, V value, Metadata metadata) Extension ofAdvancedCache.putAsync(K, V, Metadata)which returns aCacheEntryinstead of only the previous value.default CompletionStage<CacheEntry<K,V>> AdvancedCache.putAsyncReturnEntry(K key, V value, Metadata metadata) AdvancedCache.putIfAbsentAsyncEntry(K key, V value, Metadata metadata) An extension form ofAdvancedCache.putIfAbsentAsync(K, V, Metadata), which returns aCacheEntryinstead of only the value.default CompletionStage<CacheEntry<K,V>> AdvancedCache.putIfAbsentAsyncReturnEntry(K key, V value, Metadata metadata) AdvancedCache.removeAsyncEntry(Object key) An extension ofAsyncCache.removeAsync(Object), which returns aCacheEntryinstead of only the value.default CompletionStage<CacheEntry<K,V>> AdvancedCache.removeAsyncReturnEntry(K key) AdvancedCache.replaceAsyncEntry(K key, V value, Metadata metadata) An extension ofAdvancedCache.replaceAsync(K, V, Metadata), which returns aCacheEntryinstead of only the value.default CompletionStage<CacheEntry<K,V>> AdvancedCache.replaceAsyncReturnEntry(K key, V value, Metadata metadata) LockedStream.spliterator()This method is not supported when using aLockedStreamMethod parameters in org.infinispan with type arguments of type CacheEntryModifier and TypeMethodDescriptionLockedStream.filter(Predicate<? super CacheEntry<K, V>> predicate) Returns a locked stream consisting of the elements of this stream that match the given predicate.default LockedStream<K,V> LockedStream.filter(SerializablePredicate<? super CacheEntry<K, V>> predicate) Same asLockedStream.filter(Predicate)except that the Predicate must also implementSerializablevoidLockedStream.forEach(BiConsumer<Cache<K, V>, ? super CacheEntry<K, V>> biConsumer) Performs an action for each element of this stream on the primary owner of the given key.default voidLockedStream.forEach(SerializableBiConsumer<Cache<K, V>, ? super CacheEntry<K, V>> biConsumer) Same asLockedStream.forEach(BiConsumer)except that the BiConsumer must also implementSerializableLockedStream.invokeAll(BiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction) Performs a BiFunction for each element of this stream on the primary owner of each entry returning a value.LockedStream.invokeAll(SerializableBiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction) Same asLockedStream.invokeAll(BiFunction)except that the BiFunction must also implementSerializable -
Uses of CacheEntry in org.infinispan.cache.impl
Methods in org.infinispan.cache.impl that return CacheEntryModifier and TypeMethodDescriptionCacheEntry<K,V> AbstractDelegatingAdvancedCache.getCacheEntry(Object key) final CacheEntry<K,V> CacheImpl.getCacheEntry(Object key) CacheEntry<K,V> DecoratedCache.getCacheEntry(Object key) CacheEntry<K,V> EncoderCache.getCacheEntry(Object key) CacheEntry<K,V> SimpleCacheImpl.getCacheEntry(Object k) CacheEntry<K,V> StatsCollectingCache.getCacheEntry(Object k) protected CacheEntry<K,V> CacheBackedEntrySet.wrapElement(CacheEntry<K, V> e) Methods in org.infinispan.cache.impl that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionCacheSet<CacheEntry<K,V>> AbstractDelegatingAdvancedCache.cacheEntrySet()CacheSet<CacheEntry<K,V>> CacheImpl.cacheEntrySet()CacheSet<CacheEntry<K,V>> DecoratedCache.cacheEntrySet()CacheSet<CacheEntry<K,V>> EncoderCache.cacheEntrySet()CacheSet<CacheEntry<K,V>> SimpleCacheImpl.cacheEntrySet()Map<K,CacheEntry<K, V>> AbstractDelegatingAdvancedCache.getAllCacheEntries(Set<?> keys) Map<K,CacheEntry<K, V>> CacheImpl.getAllCacheEntries(Set<?> keys) final Map<K,CacheEntry<K, V>> CacheImpl.getAllCacheEntries(Set<?> keys, long explicitFlags, InvocationContext ctx) Map<K,CacheEntry<K, V>> DecoratedCache.getAllCacheEntries(Set<?> keys) Map<K,CacheEntry<K, V>> EncoderCache.getAllCacheEntries(Set<?> keys) Map<K,CacheEntry<K, V>> SimpleCacheImpl.getAllCacheEntries(Set<?> keys) Map<K,CacheEntry<K, V>> StatsCollectingCache.getAllCacheEntries(Set<?> keys) AbstractDelegatingAdvancedCache.getCacheEntryAsync(Object key) CacheImpl.getCacheEntryAsync(Object key) DecoratedCache.getCacheEntryAsync(Object key) EncoderCache.getCacheEntryAsync(Object key) SimpleCacheImpl.getCacheEntryAsync(Object key) protected Supplier<Stream<CacheEntry<K,V>>> SimpleCacheImpl.getStreamSupplier(boolean parallel) SimpleCacheImpl.CacheEntrySet.iterator()static <K,V> EncoderEntryMapper<K, V, CacheEntry<K, V>> EncoderEntryMapper.newCacheEntryMapper(DataConversion keyDataConversion, DataConversion valueDataConversion, InternalEntryFactory entryFactory) SimpleCacheImpl.CacheEntrySet.parallelStream()AbstractDelegatingAdvancedCache.putAsyncEntry(K key, V value, Metadata metadata) CacheImpl.putAsyncEntry(K key, V value, Metadata metadata) DecoratedCache.putAsyncEntry(K key, V value, Metadata metadata) EncoderCache.putAsyncEntry(K key, V value, Metadata metadata) SimpleCacheImpl.putAsyncEntry(K key, V value, Metadata metadata) EncoderCache.putAsyncReturnEntry(K key, V value, Metadata metadata) AbstractDelegatingAdvancedCache.putIfAbsentAsyncEntry(K key, V value, Metadata metadata) CacheImpl.putIfAbsentAsyncEntry(K key, V value, Metadata metadata) DecoratedCache.putIfAbsentAsyncEntry(K key, V value, Metadata metadata) EncoderCache.putIfAbsentAsyncEntry(K key, V value, Metadata metadata) SimpleCacheImpl.putIfAbsentAsyncEntry(K key, V value, Metadata metadata) EncoderCache.putIfAbsentAsyncReturnEntry(K key, V value, Metadata metadata) AbstractDelegatingAdvancedCache.removeAsyncEntry(Object key) CacheImpl.removeAsyncEntry(Object key) DecoratedCache.removeAsyncEntry(Object key) EncoderCache.removeAsyncEntry(Object key) SimpleCacheImpl.removeAsyncEntry(Object key) EncoderCache.removeAsyncReturnEntry(K key) AbstractDelegatingAdvancedCache.replaceAsyncEntry(K key, V value, Metadata metadata) CacheImpl.replaceAsyncEntry(K key, V value, Metadata metadata) DecoratedCache.replaceAsyncEntry(K key, V value, Metadata metadata) EncoderCache.replaceAsyncEntry(K key, V value, Metadata metadata) SimpleCacheImpl.replaceAsyncEntry(K key, V value, Metadata metadata) EncoderCache.replaceAsyncReturnEntry(K key, V value, Metadata metadata) SimpleCacheImpl.CacheEntrySet.spliterator()SimpleCacheImpl.CacheEntrySet.stream()Methods in org.infinispan.cache.impl with parameters of type CacheEntryModifier and TypeMethodDescriptionbooleanSimpleCacheImpl.CacheEntrySet.add(CacheEntry<K, V> entry) protected CacheEntry<K,V> CacheBackedEntrySet.wrapElement(CacheEntry<K, V> e) Method parameters in org.infinispan.cache.impl with type arguments of type CacheEntryModifier and TypeMethodDescriptionbooleanSimpleCacheImpl.CacheEntrySet.addAll(Collection<? extends CacheEntry<K, V>> c) -
Uses of CacheEntry in org.infinispan.commands
Method parameters in org.infinispan.commands with type arguments of type CacheEntryModifier and TypeMethodDescription<K,V, R> org.infinispan.reactive.publisher.impl.commands.reduction.ReductionPublisherRequestCommand<K> CommandsFactory.buildEntryReductionPublisherCommand(boolean parallelStream, DeliveryGuarantee deliveryGuarantee, IntSet segments, Set<K> keys, Set<K> excludedKeys, long explicitFlags, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <K,V, R> org.infinispan.reactive.publisher.impl.commands.reduction.ReductionPublisherRequestCommand<K> CommandsFactoryImpl.buildEntryReductionPublisherCommand(boolean parallelStream, DeliveryGuarantee deliveryGuarantee, IntSet segments, Set<K> keys, Set<K> excludedKeys, long explicitFlags, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) -
Uses of CacheEntry in org.infinispan.conflict
Methods in org.infinispan.conflict that return CacheEntryModifier and TypeMethodDescriptionCacheEntry<K,V> EntryMergePolicy.merge(CacheEntry<K, V> preferredEntry, List<CacheEntry<K, V>> otherEntries) This method is called byConflictManager.resolveConflicts()for each conflict discovered to determine whichCacheEntryshould be utilised.MergePolicy.merge(CacheEntry preferredEntry, List otherEntries) MergePolicy.UnsupportedMergePolicy.merge(CacheEntry preferredEntry, List otherEntries) Methods in org.infinispan.conflict that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionConflictManager.getConflicts()Returns a stream of conflicts detected in the cluster.Methods in org.infinispan.conflict with parameters of type CacheEntryModifier and TypeMethodDescriptionCacheEntry<K,V> EntryMergePolicy.merge(CacheEntry<K, V> preferredEntry, List<CacheEntry<K, V>> otherEntries) This method is called byConflictManager.resolveConflicts()for each conflict discovered to determine whichCacheEntryshould be utilised.MergePolicy.merge(CacheEntry preferredEntry, List otherEntries) MergePolicy.UnsupportedMergePolicy.merge(CacheEntry preferredEntry, List otherEntries) Method parameters in org.infinispan.conflict with type arguments of type CacheEntryModifier and TypeMethodDescriptionCacheEntry<K,V> EntryMergePolicy.merge(CacheEntry<K, V> preferredEntry, List<CacheEntry<K, V>> otherEntries) This method is called byConflictManager.resolveConflicts()for each conflict discovered to determine whichCacheEntryshould be utilised. -
Uses of CacheEntry in org.infinispan.container.entries
Subinterfaces of CacheEntry in org.infinispan.container.entriesModifier and TypeInterfaceDescriptioninterfaceInternalCacheEntry<K,V> Interface for internal cache entries that expose whether an entry has expired.interfaceMVCCEntry<K,V> An entry that can be safely copied when updates are made, to provide MVCC semanticsClasses in org.infinispan.container.entries that implement CacheEntryModifier and TypeClassDescriptionclassAn abstract internal cache entry that is typically stored in the data containerclassClearCacheEntry<K,V> Used inClearInvocationContextto process theClearCommand.classForwardingCacheEntry<K,V> A class designed to forward all method invocations for a CacheEntry to the provided delegate.classA cache entry that is immortal/cannot expireclassAInternalCacheEntryimplementation to store a L1 entry.classA cache entry that is mortal.classNullCacheEntry<K,V> classReadCommittedEntry<K,V> A wrapper around a cached entry that encapsulates read committed semantics when writes are initiated, committed or rolled back.classRepeatableReadEntry<K,V> An extension ofReadCommittedEntrythat provides Repeatable Read semanticsclassA cache entry that is transient, i.e., it can be considered expired after a period of not being used.classA cache entry that is both transient and mortal.classA version of RepeatableReadEntry that can perform write-skew checks during prepare.Methods in org.infinispan.container.entries that return CacheEntryModifier and TypeMethodDescriptionCacheEntry<K,V> CacheEntry.clone()CacheEntry<K,V> ClearCacheEntry.clone()CacheEntry<K,V> ForwardingCacheEntry.clone()NullCacheEntry.clone()protected abstract CacheEntry<K,V> ForwardingCacheEntry.delegate() -
Uses of CacheEntry in org.infinispan.container.entries.metadata
Classes in org.infinispan.container.entries.metadata that implement CacheEntryModifier and TypeClassDescriptionclassAInternalCacheEntryimplementation to store a L1 entry.classA form ofImmortalCacheEntrythat isMetadataAwareclassA cache entry that is mortal and isMetadataAwareclassA cache entry that is transient, i.e., it can be considered expired after a period of not being used, andMetadataAwareclassA form ofTransientMortalCacheEntrythat storesMetadata -
Uses of CacheEntry in org.infinispan.container.impl
Methods in org.infinispan.container.impl that return CacheEntryModifier and TypeMethodDescription<K,V> CacheEntry<K, V> InternalEntryFactory.copy(CacheEntry<K, V> cacheEntry) Creates a copy of this cache entry and synchronizes serializes the copy process with theInternalEntryFactory.update(org.infinispan.container.entries.InternalCacheEntry, org.infinispan.metadata.Metadata).InternalEntryFactoryImpl.copy(CacheEntry cacheEntry) Methods in org.infinispan.container.impl with parameters of type CacheEntryModifier and TypeMethodDescription<K,V> CacheEntry<K, V> InternalEntryFactory.copy(CacheEntry<K, V> cacheEntry) Creates a copy of this cache entry and synchronizes serializes the copy process with theInternalEntryFactory.update(org.infinispan.container.entries.InternalCacheEntry, org.infinispan.metadata.Metadata).InternalEntryFactoryImpl.copy(CacheEntry cacheEntry) <K,V> InternalCacheEntry<K, V> InternalEntryFactory.create(CacheEntry<K, V> cacheEntry) Creates a newInternalCacheEntryinstance based on the key, value, version and timestamp/lifespan information reflected in theCacheEntryinstance passed in.InternalEntryFactoryImpl.create(CacheEntry cacheEntry) <V> InternalCacheValue<V>InternalEntryFactory.createValue(CacheEntry<?, V> cacheEntry) Creates anInternalCacheValuebased on theInternalCacheEntrypassed in.InternalEntryFactoryImpl.createValue(CacheEntry cacheEntry) protected MVCCEntry<?,?> EntryFactoryImpl.createWrappedEntry(Object key, CacheEntry<?, ?> cacheEntry) voidEntryFactory.wrapExternalEntry(InvocationContext ctx, Object key, CacheEntry externalEntry, boolean isRead, boolean isWrite) Insert an external entry (e.g.voidEntryFactoryImpl.wrapExternalEntry(InvocationContext ctx, Object key, CacheEntry externalEntry, boolean isRead, boolean isWrite) -
Uses of CacheEntry in org.infinispan.context
Methods in org.infinispan.context that return CacheEntryModifier and TypeMethodDescriptionEntryLookup.lookupEntry(Object key) Retrieves an entry from the collection of looked up entries in the current scope.Methods in org.infinispan.context that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionEntryLookup.getLookedUpEntries()Retrieves a map of entries looked up within the current scope.<K,V> org.reactivestreams.Publisher<CacheEntry<K, V>> EntryLookup.publisher()Returns a Publisher that when subscribed to provide all values that have a value in the given context.Methods in org.infinispan.context with parameters of type CacheEntryModifier and TypeMethodDescriptionvoidEntryLookup.putLookedUpEntry(Object key, CacheEntry e) Puts an entry in the registry of looked up entries in the current scope.Method parameters in org.infinispan.context with type arguments of type CacheEntryModifier and TypeMethodDescriptiondefault voidEntryLookup.forEachEntry(BiConsumer<Object, CacheEntry> action) Execute an action for each entry in the context.default voidEntryLookup.forEachValue(BiConsumer<Object, CacheEntry> action) Execute an action for each value in the context. -
Uses of CacheEntry in org.infinispan.context.impl
Methods in org.infinispan.context.impl that return CacheEntryModifier and TypeMethodDescriptionSingleKeyNonTxInvocationContext.getCacheEntry()final CacheEntryAbstractTxInvocationContext.lookupEntry(Object key) ClearInvocationContext.lookupEntry(Object key) ImmutableContext.lookupEntry(Object key) NonTxInvocationContext.lookupEntry(Object k) SingleKeyNonTxInvocationContext.lookupEntry(Object key) Methods in org.infinispan.context.impl that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionfinal Map<Object,CacheEntry> AbstractTxInvocationContext.getLookedUpEntries()ClearInvocationContext.getLookedUpEntries()ImmutableContext.getLookedUpEntries()NonTxInvocationContext.getLookedUpEntries()SingleKeyNonTxInvocationContext.getLookedUpEntries()<K,V> org.reactivestreams.Publisher<CacheEntry<K, V>> AbstractInvocationContext.publisher()<K,V> org.reactivestreams.Publisher<CacheEntry<K, V>> ImmutableContext.publisher()<K,V> org.reactivestreams.Publisher<CacheEntry<K, V>> SingleKeyNonTxInvocationContext.publisher()Methods in org.infinispan.context.impl with parameters of type CacheEntryModifier and TypeMethodDescriptionfinal voidAbstractTxInvocationContext.putLookedUpEntry(Object key, CacheEntry e) voidClearInvocationContext.putLookedUpEntry(Object key, CacheEntry e) voidImmutableContext.putLookedUpEntry(Object key, CacheEntry e) voidNonTxInvocationContext.putLookedUpEntry(Object key, CacheEntry e) voidSingleKeyNonTxInvocationContext.putLookedUpEntry(Object key, CacheEntry e) Method parameters in org.infinispan.context.impl with type arguments of type CacheEntryModifier and TypeMethodDescriptionvoidImmutableContext.forEachEntry(BiConsumer<Object, CacheEntry> action) voidNonTxInvocationContext.forEachEntry(BiConsumer<Object, CacheEntry> action) voidSingleKeyNonTxInvocationContext.forEachEntry(BiConsumer<Object, CacheEntry> action) voidImmutableContext.forEachValue(BiConsumer<Object, CacheEntry> action) voidSingleKeyNonTxInvocationContext.forEachValue(BiConsumer<Object, CacheEntry> action) -
Uses of CacheEntry in org.infinispan.distribution.group.impl
Methods in org.infinispan.distribution.group.impl with parameters of type CacheEntryMethod parameters in org.infinispan.distribution.group.impl with type arguments of type CacheEntryModifier and TypeMethodDescription<K,V> Map<K, V> GroupManager.collect(CacheStream<? extends CacheEntry<K, V>> stream, InvocationContext ctx, String groupName) Collects all entries belonging to a single group.<K,V> Map<K, V> GroupManagerImpl.collect(CacheStream<? extends CacheEntry<K, V>> stream, InvocationContext ctx, String groupName) -
Uses of CacheEntry in org.infinispan.filter
Methods in org.infinispan.filter that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionstatic <K,V, C> Function<CacheEntry<K, V>, CacheEntry<K, C>> CacheFilters.converterToFunction(KeyValueFilterConverter<? super K, ? super V, C> filterConverter) Creates a newFunctionusing the provided filter convert.static <K,V, C> Function<CacheEntry<K, V>, CacheEntry<K, C>> CacheFilters.converterToFunction(KeyValueFilterConverter<? super K, ? super V, C> filterConverter) Creates a newFunctionusing the provided filter convert.static <K,V, C> Stream<CacheEntry<K, C>> CacheFilters.filterAndConvert(Stream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) Adds needed intermediate operations to the provided stream, returning a possibly new stream as a result of the operations.static <K,V, C> CacheStream<CacheEntry<K, C>> CacheFilters.filterAndConvert(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,V, C> Function<CacheEntry<K, V>, CacheEntry<K, C>> Creates a newFunctionusing the provided converter as a basis for the operation.static <K,V, C> Function<CacheEntry<K, V>, CacheEntry<K, C>> Creates a newFunctionusing the provided converter as a basis for the operation.static <K,V> Predicate<CacheEntry<K, V>> CacheFilters.notNullCacheEntryPredicate()Provides a predicate that can be used to filter out null cache entry objects as well as placeholder "null" entries ofNullCacheEntrythat can be returned from methods such asCacheFilters.converterToFunction(KeyValueFilterConverter).static <K,V> Predicate<CacheEntry<K, V>> CacheFilters.predicate(KeyValueFilter<? super K, ? super V> filter) Creates a newPredicateusing the provided key value filter as a basis for the operation.Method parameters in org.infinispan.filter with type arguments of type CacheEntryModifier and TypeMethodDescriptionstatic <K,V, C> Stream<CacheEntry<K, C>> CacheFilters.filterAndConvert(Stream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) Adds needed intermediate operations to the provided stream, returning a possibly new stream as a result of the operations.static <K,V, C> CacheStream<CacheEntry<K, C>> CacheFilters.filterAndConvert(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,V, C> CacheStream<K> CacheFilters.filterAndConvertToKey(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) static <K,V, C> CacheStream<C> CacheFilters.filterAndConvertToValue(CacheStream<CacheEntry<K, V>> stream, KeyValueFilterConverter<? super K, ? super V, C> filterConverter) -
Uses of CacheEntry in org.infinispan.functional.impl
Methods in org.infinispan.functional.impl with parameters of type CacheEntryModifier and TypeMethodDescriptionstatic <T> StatsEnvelope<T>StatsEnvelope.create(T returnValue, CacheEntry<?, ?> e, boolean exists, boolean isRead) voidFunctionalNotifier.notifyOnCreate(CacheEntry<K, V> entry) Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the created entry.voidFunctionalNotifierImpl.notifyOnCreate(CacheEntry entry) voidFunctionalNotifier.notifyOnModify(CacheEntry<K, V> entry, V previousValue, Metadata previousMetadata) Notify registeredListeners.ReadWriteListeners.ReadWriteListenerinstances of the modified entry passing the previous and new value.voidFunctionalNotifierImpl.notifyOnModify(CacheEntry<K, V> entry, V previousValue, Metadata previousMetadata) voidFunctionalNotifier.notifyOnWrite(CacheEntry<K, V> entry) voidFunctionalNotifierImpl.notifyOnWrite(CacheEntry<K, V> entry) static <K,V> EntryView.ReadEntryView<K, V> EntryViews.readOnly(CacheEntry entry) static <K,V> EntryView.ReadEntryView<K, V> EntryViews.readOnly(CacheEntry<K, V> entry, DataConversion keyDataConversion, DataConversion valueDataConversion) static <K,V> EntryView.WriteEntryView<K, V> EntryViews.writeOnly(CacheEntry entry, DataConversion valueDataConversion) -
Uses of CacheEntry in org.infinispan.metadata
Methods in org.infinispan.metadata with parameters of type CacheEntryModifier and TypeMethodDescriptionstatic voidMetadatas.updateMetadata(CacheEntry entry, Metadata providedMetadata) Set theprovidedMetadataon the cache entry. -
Uses of CacheEntry in org.infinispan.multimap.api.embedded
Methods in org.infinispan.multimap.api.embedded that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionRetrieves a CacheEntry corresponding to a specific key in this multimap cache. -
Uses of CacheEntry in org.infinispan.multimap.impl
Methods in org.infinispan.multimap.impl that return types with arguments of type CacheEntryModifier and TypeMethodDescription -
Uses of CacheEntry in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher<CacheEntry<K,V>> QueueingSegmentListener.apply(SegmentPublisherSupplier.Notification<CacheEntry<K, V>> cacheEntryNotification) This should be invoked on a notification before actually processing the data.Methods in org.infinispan.notifications.cachelistener with parameters of type CacheEntryModifier and TypeMethodDescriptionstatic CompletionStage<Void>NotifyHelper.entryCommitted(CacheNotifier notifier, FunctionalNotifier functionalNotifier, boolean created, boolean removed, boolean expired, CacheEntry entry, InvocationContext ctx, FlagAffectedCommand command, Object previousValue, Metadata previousMetadata, EvictionManager evictionManager) Method parameters in org.infinispan.notifications.cachelistener with type arguments of type CacheEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher<CacheEntry<K,V>> QueueingSegmentListener.apply(SegmentPublisherSupplier.Notification<CacheEntry<K, V>> cacheEntryNotification) This should be invoked on a notification before actually processing the data. -
Uses of CacheEntry in org.infinispan.reactive.publisher.impl
Method parameters in org.infinispan.reactive.publisher.impl with type arguments of type CacheEntryModifier and TypeMethodDescription<R> SegmentPublisherSupplier<R>ClusterPublisherManager.entryPublisher(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) Performs the given transformer on data in the cache, resulting in multiple values.<R> SegmentPublisherSupplier<R>ClusterPublisherManagerImpl.entryPublisher(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> SegmentPublisherSupplier<R>LocalClusterPublisherManagerImpl.entryPublisher(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) LocalPublisherManager.entryPublisher(IntSet segments, Set<K> keysToInclude, Set<K> keysToExclude, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) Performs the given transformer on data in the cache that is local, resulting in a stream of values of possibly varying size.LocalPublisherManagerImpl.entryPublisher(IntSet segments, Set<K> keysToInclude, Set<K> keysToExclude, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> SegmentPublisherSupplier<R>PartitionAwareClusterPublisherManager.entryPublisher(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> CompletionStage<R>ClusterPublisherManager.entryReduction(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) Performs the given transformer and finalizer on data in the cache, resulting in a single value.<R> CompletionStage<R>ClusterPublisherManagerImpl.entryReduction(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext ctx, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <R> CompletionStage<R>LocalClusterPublisherManagerImpl.entryReduction(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <R> CompletionStage<org.infinispan.reactive.publisher.impl.commands.reduction.PublisherResult<R>>LocalPublisherManager.entryReduction(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, Set<K> keysToExclude, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) Performs the given transformer and finalizer on data in the cache that is local, resulting in a single value.<R> CompletionStage<org.infinispan.reactive.publisher.impl.commands.reduction.PublisherResult<R>>LocalPublisherManagerImpl.entryReduction(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, Set<K> keysToExclude, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> collator, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <R> CompletionStage<R>PartitionAwareClusterPublisherManager.entryReduction(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext ctx, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) -
Uses of CacheEntry in org.infinispan.rest.stream
Constructor parameters in org.infinispan.rest.stream with type arguments of type CacheEntryModifierConstructorDescriptionCacheEntryStreamProcessor(org.reactivestreams.Publisher<CacheEntry<?, ?>> publisher, boolean keysAreJson, boolean valuesAreJson, boolean includeMetadata) -
Uses of CacheEntry in org.infinispan.security.actions
Methods in org.infinispan.security.actions that return CacheEntryMethods in org.infinispan.security.actions that return types with arguments of type CacheEntry -
Uses of CacheEntry in org.infinispan.security.impl
Methods in org.infinispan.security.impl that return CacheEntryMethods in org.infinispan.security.impl that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionCacheSet<CacheEntry<K,V>> SecureCacheImpl.cacheEntrySet()Map<K,CacheEntry<K, V>> SecureCacheImpl.getAllCacheEntries(Set<?> keys) SecureCacheImpl.getCacheEntryAsync(Object key) SecureCacheImpl.putAsyncEntry(K key, V value, Metadata metadata) SecureCacheImpl.putAsyncReturnEntry(K key, V value, Metadata metadata) SecureCacheImpl.putIfAbsentAsyncEntry(K key, V value, Metadata metadata) SecureCacheImpl.putIfAbsentAsyncReturnEntry(K key, V value, Metadata metadata) SecureCacheImpl.removeAsyncEntry(Object key) SecureCacheImpl.removeAsyncReturnEntry(K key) SecureCacheImpl.replaceAsyncEntry(K key, V value, Metadata metadata) SecureCacheImpl.replaceAsyncReturnEntry(K key, V value, Metadata metadata) -
Uses of CacheEntry in org.infinispan.server.hotrod
Methods in org.infinispan.server.hotrod with parameters of type CacheEntryModifier and TypeMethodDescriptionstatic longMetadataUtils.extractCreated(CacheEntry ce) static longMetadataUtils.extractLastUsed(CacheEntry ce) static intMetadataUtils.extractLifespan(CacheEntry ce) static intMetadataUtils.extractMaxIdle(CacheEntry ce) static longMetadataUtils.extractVersion(CacheEntry ce) io.netty.buffer.ByteBufVersionedEncoder.getStreamResponse(HotRodHeader header, HotRodServer server, io.netty.channel.Channel channel, int offset, CacheEntry<byte[], byte[]> entry) io.netty.buffer.ByteBufVersionedEncoder.getWithMetadataResponse(HotRodHeader header, HotRodServer server, io.netty.channel.Channel channel, CacheEntry<byte[], byte[]> entry) io.netty.buffer.ByteBufVersionedEncoder.multimapEntryResponse(HotRodHeader header, HotRodServer server, io.netty.channel.Channel channel, OperationStatus status, CacheEntry<byte[], Collection<byte[]>> ce) io.netty.buffer.ByteBufVersionedEncoder.notExecutedResponse(HotRodHeader header, HotRodServer server, io.netty.channel.Channel channel, CacheEntry<byte[], byte[]> prev) io.netty.buffer.ByteBufVersionedEncoder.successResponse(HotRodHeader header, HotRodServer server, io.netty.channel.Channel channel, CacheEntry<byte[], byte[]> result) io.netty.buffer.ByteBufEncoder4x.valueResponse(HotRodHeader header, HotRodServer server, io.netty.channel.Channel channel, OperationStatus status, CacheEntry<byte[], byte[]> prev) io.netty.buffer.ByteBufVersionedEncoder.valueResponse(HotRodHeader header, HotRodServer server, io.netty.channel.Channel channel, OperationStatus status, CacheEntry<byte[], byte[]> prev) -
Uses of CacheEntry in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration that return types with arguments of type CacheEntry -
Uses of CacheEntry in org.infinispan.stream
Methods in org.infinispan.stream that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionstatic <K,V> Function<K, CacheEntry<K, V>> StreamMarshalling.keyToEntryFunction()Provides a function that given a key will return theCacheEntrythat maps to this key. -
Uses of CacheEntry in org.infinispan.stream.impl
Methods in org.infinispan.stream.impl that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionIterator<CacheEntry<K,V>> LockedStreamImpl.iterator()LockedStreamImpl.spliterator()Method parameters in org.infinispan.stream.impl with type arguments of type CacheEntryModifier and TypeMethodDescriptionLockedStreamImpl.filter(Predicate<? super CacheEntry<K, V>> predicate) voidLockedStreamImpl.forEach(BiConsumer<Cache<K, V>, ? super CacheEntry<K, V>> biConsumer) voidTxLockedStreamImpl.forEach(BiConsumer<Cache<K, V>, ? super CacheEntry<K, V>> biConsumer) LockedStreamImpl.invokeAll(BiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction) TxLockedStreamImpl.invokeAll(BiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction) Constructor parameters in org.infinispan.stream.impl with type arguments of type CacheEntryModifierConstructorDescriptionLockedStreamImpl(CacheStream<CacheEntry<K, V>> realStream, long time, TimeUnit unit) TxLockedStreamImpl(javax.transaction.TransactionManager tm, CacheStream<CacheEntry<K, V>> realStream, long time, TimeUnit unit) -
Uses of CacheEntry in org.infinispan.transaction.impl
Fields in org.infinispan.transaction.impl with type parameters of type CacheEntryModifier and TypeFieldDescriptionprotected Map<Object,CacheEntry> AbstractCacheTransaction.lookedUpEntriesMethods in org.infinispan.transaction.impl that return CacheEntryMethods in org.infinispan.transaction.impl that return types with arguments of type CacheEntryModifier and TypeMethodDescriptionAbstractCacheTransaction.getLookedUpEntries()LocalTransaction.getLookedUpEntries()Methods in org.infinispan.transaction.impl with parameters of type CacheEntryModifier and TypeMethodDescriptionstatic voidWriteSkewHelper.addVersionRead(TxInvocationContext<?> ctx, CacheEntry<?, ?> entry, Object key, VersionGenerator versionGenerator, org.infinispan.util.logging.Log log) static IncrementableEntryVersionWriteSkewHelper.incrementVersion(CacheEntry<?, ?> entry, VersionGenerator versionGenerator) voidLocalTransaction.putLookedUpEntry(Object key, CacheEntry e) voidRemoteTransaction.putLookedUpEntry(Object key, CacheEntry e) static IncrementableEntryVersionWriteSkewHelper.versionFromEntry(CacheEntry<?, ?> entry) Method parameters in org.infinispan.transaction.impl with type arguments of type CacheEntryModifier and TypeMethodDescriptionvoidLocalTransaction.putLookedUpEntries(Map<Object, CacheEntry> entries) voidRemoteTransaction.putLookedUpEntries(Map<Object, CacheEntry> entries) -
Uses of CacheEntry in org.infinispan.transaction.xa
Methods in org.infinispan.transaction.xa that return CacheEntryMethods in org.infinispan.transaction.xa that return types with arguments of type CacheEntryMethods in org.infinispan.transaction.xa with parameters of type CacheEntryModifier and TypeMethodDescriptionvoidCacheTransaction.putLookedUpEntry(Object key, CacheEntry e) Method parameters in org.infinispan.transaction.xa with type arguments of type CacheEntryModifier and TypeMethodDescriptionvoidCacheTransaction.putLookedUpEntries(Map<Object, CacheEntry> entries) -
Uses of CacheEntry in org.infinispan.util
Classes in org.infinispan.util that implement CacheEntryModifier and TypeClassDescriptionclassEntryWrapper<K,V> Wrapper for CacheEntry(s) that can be used to update the cache when it's value is set.Methods in org.infinispan.util that return CacheEntryModifier and TypeMethodDescriptionprotected CacheEntry<K,V> EntryWrapper.delegate()CacheEntry<K,V> DataContainerRemoveIterator.next()Methods in org.infinispan.util with parameters of type CacheEntryModifier and TypeMethodDescriptionstatic Optional<IracMetadata>IracUtils.findIracMetadataFromCacheEntry(CacheEntry<?, ?> entry) static IracEntryVersionIracUtils.getIracVersionFromCacheEntry(CacheEntry<?, ?> entry) static voidIracUtils.setIracMetadata(CacheEntry<?, ?> entry, int segment, IracMetadata metadata, IracTombstoneManager versionGenerator, LogSupplier logSupplier) Stores theIracMetadataintoCacheEntry.static voidIracUtils.setPrivateMetadata(CacheEntry<?, ?> entry, int segment, PrivateMetadata metadata, IracTombstoneManager versionGenerator, LogSupplier logSupplier) Same asIracUtils.setIracMetadata(CacheEntry, int, IracMetadata, IracTombstoneManager, LogSupplier)but it stores a "full"PrivateMetadatainstead ofIracMetadata.Constructors in org.infinispan.util with parameters of type CacheEntryModifierConstructorDescriptionEntryWrapper(Cache<K, V> cache, CacheEntry<K, V> entry) Creates a new entry wrapper given the cache and entry.