Uses of Interface
org.infinispan.container.entries.CacheEntry
-
Packages that use CacheEntry Package Description org.infinispan This is the core of Infinispan, a distributed, transactional, highly scalable data grid platform.org.infinispan.conflict This package contains the APIs that enable users to search for, and amend, data inconsistencies within their cache.org.infinispan.container.entries Entries which are stored in data containers.org.infinispan.container.entries.metadata 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.filter Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.org.infinispan.interceptors.distribution Interceptors dealing with command replication in distributed/replicated mode.org.infinispan.interceptors.locking Interceptors dealing with locking.org.infinispan.interceptors.totalorder Interceptors dealing with total order.org.infinispan.metadata Metadata interfacesorg.infinispan.multimap.api.embedded Embedded Multimap Cache.org.infinispan.notifications.cachelistener Cache-specific notifications and eventing.org.infinispan.rest.cachemanager Cache manager wrapper for REST interface.org.infinispan.security.actions org.infinispan.server.hotrod org.infinispan.server.hotrod.iteration org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.stream Cache stream processing.org.infinispan.transaction.xa XA transaction support.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. -
-
Uses of CacheEntry in org.infinispan
Methods in org.infinispan that return CacheEntry Modifier and Type Method Description CacheEntry<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 CacheEntry Modifier and Type Method Description CacheSet<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 aLockedStreamSpliterator<CacheEntry<K,V>>LockedStream. spliterator()This method is not supported when using aLockedStreamMethod parameters in org.infinispan with type arguments of type CacheEntry Modifier and Type Method Description LockedStream<K,V>LockedStream. 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 implementSerializable<R> Map<K,R>LockedStream. 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.default <R> Map<K,R>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.conflict
Methods in org.infinispan.conflict that return CacheEntry Modifier and Type Method Description CacheEntry<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.CacheEntryMergePolicy. merge(CacheEntry preferredEntry, List otherEntries)CacheEntryMergePolicy.UnsupportedMergePolicy. merge(CacheEntry preferredEntry, List otherEntries)Methods in org.infinispan.conflict that return types with arguments of type CacheEntry Modifier and Type Method Description Stream<Map<Address,CacheEntry<K,V>>>ConflictManager. getConflicts()Returns a stream of conflicts detected in the cluster.Methods in org.infinispan.conflict with parameters of type CacheEntry Modifier and Type Method Description CacheEntry<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.CacheEntryMergePolicy. merge(CacheEntry preferredEntry, List otherEntries)CacheEntryMergePolicy.UnsupportedMergePolicy. merge(CacheEntry preferredEntry, List otherEntries)Method parameters in org.infinispan.conflict with type arguments of type CacheEntry Modifier and Type Method Description CacheEntry<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.entries Modifier and Type Interface Description interfaceInternalCacheEntry<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 CacheEntry Modifier and Type Class Description classAbstractInternalCacheEntryAn 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.classImmortalCacheEntryA cache entry that is immortal/cannot expireclassL1InternalCacheEntryAInternalCacheEntryimplementation to store a L1 entry.classMortalCacheEntryA cache entry that is mortal.classNullCacheEntry<K,V>classReadCommittedEntryA wrapper around a cached entry that encapsulates read committed semantics when writes are initiated, committed or rolled back.classRepeatableReadEntryAn extension ofReadCommittedEntrythat provides Repeatable Read semanticsclassTransientCacheEntryA cache entry that is transient, i.e., it can be considered expired after a period of not being used.classTransientMortalCacheEntryA cache entry that is both transient and mortal.classVersionedRepeatableReadEntryA version of RepeatableReadEntry that can perform write-skew checks during prepare.Methods in org.infinispan.container.entries that return CacheEntry Modifier and Type Method Description CacheEntry<K,V>CacheEntry. clone()CacheEntry<K,V>ClearCacheEntry. clone()CacheEntry<K,V>ForwardingCacheEntry. clone()CacheEntryNullCacheEntry. 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 CacheEntry Modifier and Type Class Description classL1MetadataInternalCacheEntryAInternalCacheEntryimplementation to store a L1 entry.classMetadataImmortalCacheEntryA form ofImmortalCacheEntrythat isMetadataAwareclassMetadataMortalCacheEntryA cache entry that is mortal and isMetadataAwareclassMetadataTransientCacheEntryA cache entry that is transient, i.e., it can be considered expired after a period of not being used, andMetadataAwareclassMetadataTransientMortalCacheEntryA form ofTransientMortalCacheEntrythat isVersioned -
Uses of CacheEntry in org.infinispan.context
Methods in org.infinispan.context that return CacheEntry Modifier and Type Method Description CacheEntrySingleKeyNonTxInvocationContext. getCacheEntry()Deprecated.CacheEntryEntryLookup. lookupEntry(Object key)Retrieves an entry from the collection of looked up entries in the current scope.CacheEntrySingleKeyNonTxInvocationContext. lookupEntry(Object key)Deprecated.Methods in org.infinispan.context that return types with arguments of type CacheEntry Modifier and Type Method Description Map<Object,CacheEntry>EntryLookup. getLookedUpEntries()Deprecated.Since 9.3, please useEntryLookup.forEachEntry(BiConsumer)orEntryLookup.lookedUpEntriesCount()instead.Map<Object,CacheEntry>SingleKeyNonTxInvocationContext. getLookedUpEntries()Deprecated.Methods in org.infinispan.context with parameters of type CacheEntry Modifier and Type Method Description voidEntryLookup. putLookedUpEntry(Object key, CacheEntry e)Puts an entry in the registry of looked up entries in the current scope.voidSingleKeyNonTxInvocationContext. putLookedUpEntry(Object key, CacheEntry e)Deprecated.Method parameters in org.infinispan.context with type arguments of type CacheEntry Modifier and Type Method Description default voidEntryLookup. forEachEntry(BiConsumer<Object,CacheEntry> action)Execute an action for each entry in the context.voidSingleKeyNonTxInvocationContext. forEachEntry(BiConsumer<Object,CacheEntry> action)Deprecated.default voidEntryLookup. forEachValue(BiConsumer<Object,CacheEntry> action)Execute an action for each value in the context. -
Uses of CacheEntry in org.infinispan.filter
Methods in org.infinispan.filter that return types with arguments of type CacheEntry Modifier and Type Method Description 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>>CacheFilters. function(Converter<? super K,? super V,C> converter)Creates a newFunctionusing the provided converter as a basis for the operation.static <K,V,C>
Function<CacheEntry<K,V>,CacheEntry<K,C>>CacheFilters. function(Converter<? super K,? super V,C> converter)Creates a newFunctionusing the provided converter as a basis for the operation.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 CacheEntry Modifier and Type Method Description 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) -
Uses of CacheEntry in org.infinispan.interceptors.distribution
Fields in org.infinispan.interceptors.distribution with type parameters of type CacheEntry Modifier and Type Field Description protected CacheSet<CacheEntry<K,V>>DistributionBulkInterceptor.BackingEntrySet. entrySetMethods in org.infinispan.interceptors.distribution that return types with arguments of type CacheEntry Modifier and Type Method Description CloseableIterator<CacheEntry<K,V>>DistributionBulkInterceptor.BackingEntrySet. iterator()CacheStream<CacheEntry<K,V>>DistributionBulkInterceptor.BackingEntrySet. parallelStream()CacheStream<CacheEntry<K,V>>DistributionBulkInterceptor.TxBackingEntrySet. parallelStream()CloseableSpliterator<CacheEntry<K,V>>DistributionBulkInterceptor.BackingEntrySet. spliterator()CacheStream<CacheEntry<K,V>>DistributionBulkInterceptor.BackingEntrySet. stream()CacheStream<CacheEntry<K,V>>DistributionBulkInterceptor.TxBackingEntrySet. stream()Methods in org.infinispan.interceptors.distribution with parameters of type CacheEntry Modifier and Type Method Description protected ObjectBaseDistributionInterceptor. wrapFunctionalResultOnNonOriginOnReturn(Object rv, CacheEntry entry)protected ObjectVersionedDistributionInterceptor. wrapFunctionalResultOnNonOriginOnReturn(Object rv, CacheEntry entry)protected voidBaseDistributionInterceptor. wrapRemoteEntry(InvocationContext ctx, Object key, CacheEntry ice, boolean isWrite)protected voidVersionedDistributionInterceptor. wrapRemoteEntry(InvocationContext ctx, Object key, CacheEntry ice, boolean isWrite)Constructors in org.infinispan.interceptors.distribution with parameters of type CacheEntry Constructor Description PrimaryResponseGenerator(CacheEntry cacheEntry, Object rv) -
Uses of CacheEntry in org.infinispan.interceptors.locking
Methods in org.infinispan.interceptors.locking with parameters of type CacheEntry Modifier and Type Method Description voidClusteringDependentLogic.AbstractClusteringDependentLogic. commitEntry(CacheEntry entry, org.infinispan.commands.FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)voidClusteringDependentLogic. commitEntry(CacheEntry entry, org.infinispan.commands.FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)protected abstract voidClusteringDependentLogic.AbstractClusteringDependentLogic. commitSingleEntry(CacheEntry entry, org.infinispan.commands.FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)protected voidClusteringDependentLogic.DistributionLogic. commitSingleEntry(CacheEntry entry, org.infinispan.commands.FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)protected voidClusteringDependentLogic.InvalidationLogic. commitSingleEntry(CacheEntry entry, org.infinispan.commands.FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)protected voidClusteringDependentLogic.LocalLogic. commitSingleEntry(CacheEntry entry, org.infinispan.commands.FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)protected voidClusteringDependentLogic.ReplicationLogic. commitSingleEntry(CacheEntry entry, org.infinispan.commands.FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)protected voidClusteringDependentLogic.ScatteredLogic. commitSingleEntry(CacheEntry entry, org.infinispan.commands.FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) -
Uses of CacheEntry in org.infinispan.interceptors.totalorder
Methods in org.infinispan.interceptors.totalorder with parameters of type CacheEntry Modifier and Type Method Description protected voidTotalOrderVersionedEntryWrappingInterceptor. commitContextEntry(CacheEntry entry, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command, Flag stateTransferFlag, boolean l1Invalidation) -
Uses of CacheEntry in org.infinispan.metadata
Methods in org.infinispan.metadata with parameters of type CacheEntry Modifier and Type Method Description static 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 CacheEntry Modifier and Type Method Description CompletableFuture<Optional<CacheEntry<K,Collection<V>>>>MultimapCache. getEntry(K key)Retrieves a CacheEntry corresponding to a specific key in this multimap cache. -
Uses of CacheEntry in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener that return types with arguments of type CacheEntry Modifier and Type Method Description Set<CacheEntry<K,V>>QueueingSegmentListener. findCreatedEntries()This method is to be called just before marking the transfer as complete and after all keys have been manually processed.Methods in org.infinispan.notifications.cachelistener with parameters of type CacheEntry Modifier and Type Method Description static voidNotifyHelper. entryCommitted(CacheNotifier notifier, org.infinispan.functional.impl.FunctionalNotifier functionalNotifier, boolean created, boolean removed, boolean expired, CacheEntry entry, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command, Object previousValue, Metadata previousMetadata) -
Uses of CacheEntry in org.infinispan.rest.cachemanager
Methods in org.infinispan.rest.cachemanager that return CacheEntry Modifier and Type Method Description CacheEntry<Object,V>RestCacheManager. getInternalEntry(String cacheName, Object key, boolean skipListener, MediaType keyContentType, MediaType mediaType, Subject subject)CacheEntry<Object,V>RestCacheManager. getInternalEntry(String cacheName, Object key, MediaType keyContentType, MediaType mediaType, Subject subject)CacheEntry<Object,V>RestCacheManager. getInternalEntry(AdvancedCache<Object,V> cache, Object key, boolean skipListener)CacheEntry<Object,V>RestCacheManager. getPrivilegedInternalEntry(AdvancedCache<Object,V> cache, Object key, boolean skipListener) -
Uses of CacheEntry in org.infinispan.security.actions
Methods in org.infinispan.security.actions that return CacheEntry Modifier and Type Method Description CacheEntry<K,V>GetCacheEntryAction. run() -
Uses of CacheEntry in org.infinispan.server.hotrod
Methods in org.infinispan.server.hotrod with parameters of type CacheEntry Modifier and Type Method Description static 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.ByteBufAbstractEncoder1x. getStreamResponse(HotRodHeader header, HotRodServer server, io.netty.buffer.ByteBufAllocator alloc, int offset, CacheEntry<byte[],byte[]> entry)io.netty.buffer.ByteBufVersionedEncoder. getStreamResponse(HotRodHeader header, HotRodServer server, io.netty.buffer.ByteBufAllocator alloc, int offset, CacheEntry<byte[],byte[]> entry)io.netty.buffer.ByteBufAbstractEncoder1x. getWithMetadataResponse(HotRodHeader header, HotRodServer server, io.netty.buffer.ByteBufAllocator alloc, CacheEntry<byte[],byte[]> entry)io.netty.buffer.ByteBufVersionedEncoder. getWithMetadataResponse(HotRodHeader header, HotRodServer server, io.netty.buffer.ByteBufAllocator alloc, CacheEntry<byte[],byte[]> entry)io.netty.buffer.ByteBufAbstractEncoder1x. multimapEntryResponse(HotRodHeader header, HotRodServer server, io.netty.buffer.ByteBufAllocator alloc, OperationStatus status, CacheEntry<WrappedByteArray,Collection<WrappedByteArray>> ce, Collection<byte[]> result)io.netty.buffer.ByteBufVersionedEncoder. multimapEntryResponse(HotRodHeader header, HotRodServer server, io.netty.buffer.ByteBufAllocator alloc, OperationStatus status, CacheEntry<WrappedByteArray,Collection<WrappedByteArray>> ce, Collection<byte[]> result) -
Uses of CacheEntry in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration that return types with arguments of type CacheEntry Modifier and Type Method Description List<CacheEntry>IterableIterationResult. getEntries() -
Uses of CacheEntry in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer with parameters of type CacheEntry Modifier and Type Method Description voidCommitManager. commit(CacheEntry entry, Flag operation, int segment, boolean l1Only, InvocationContext ctx)It tries to commit the cache entry. -
Uses of CacheEntry in org.infinispan.stream
Methods in org.infinispan.stream that return types with arguments of type CacheEntry Modifier and Type Method Description static <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.transaction.xa
Methods in org.infinispan.transaction.xa that return CacheEntry Modifier and Type Method Description CacheEntryCacheTransaction. lookupEntry(Object key)Methods in org.infinispan.transaction.xa that return types with arguments of type CacheEntry Modifier and Type Method Description Map<Object,CacheEntry>CacheTransaction. getLookedUpEntries()Methods in org.infinispan.transaction.xa with parameters of type CacheEntry Modifier and Type Method Description voidCacheTransaction. putLookedUpEntry(Object key, CacheEntry e)Method parameters in org.infinispan.transaction.xa with type arguments of type CacheEntry Modifier and Type Method Description voidCacheTransaction. putLookedUpEntries(Map<Object,CacheEntry> entries) -
Uses of CacheEntry in org.infinispan.util
Classes in org.infinispan.util that implement CacheEntry Modifier and Type Class Description classEntryWrapper<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 CacheEntry Modifier and Type Method Description protected CacheEntry<K,V>EntryWrapper. delegate()CacheEntry<K,V>DataContainerRemoveIterator. next()Constructors in org.infinispan.util with parameters of type CacheEntry Constructor Description EntryWrapper(Cache<K,V> cache, CacheEntry<K,V> entry)Creates a new entry wrapper given the cache and entry.
-