Uses of Interface
org.infinispan.AdvancedCache
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
This package contains the APIs that enable users to search for, and amend, data inconsistencies within their cache.
Factories are internal components used to create other components based on a cache's
configuration.
Query module internals.
Security API.
-
Uses of AdvancedCache in org.infinispan
Modifier and TypeMethodDescriptionCache.getAdvancedCache()
Whenever this cache acquires a lock it will do so using the given Object as the owner of said lock.default AdvancedCache
<K, V> AdvancedCache.noFlags()
Unset all flags set on this cache usingwithFlags(Flag...)
orwithFlags(Collection)
methods.default AdvancedCache
<K, V> AdvancedCache.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) Apply thetransformation
on eachAdvancedCache
instance in a delegation chain, starting with the innermost implementation.AdvancedCache
<?, ?> AdvancedCache.withEncoding
(Class<? extends Encoder> encoder) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.1, to be removed in a future version.AdvancedCache
<?, ?> AdvancedCache.withEncoding
(Class<? extends Encoder> keyEncoder, Class<? extends Encoder> valueEncoder) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.1, to be removed in a future version.default AdvancedCache
<K, V> AdvancedCache.withFlags
(Collection<Flag> flags) An alternative towithFlags(Flag...)
not requiring array allocation.default AdvancedCache
<K, V> An alternative towithFlags(Flag...)
optimized for a single flag.A method that adds flags to any API call.AdvancedCache
<?, ?> AdvancedCache.withKeyEncoding
(Class<? extends Encoder> encoder) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.1, to be removed in a future version.AdvancedCache
<?, ?> AdvancedCache.withMediaType
(String keyMediaType, String valueMediaType) Deprecated, for removal: This API element is subject to removal in a future version.UsewithMediaType(MediaType, MediaType)
instead.<K1,
V1> AdvancedCache <K1, V1> AdvancedCache.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) AdvancedCache.withStorageMediaType()
Perform any cache operations using the sameMediaType
of the cache storage.AdvancedCache.withSubject
(Subject subject) Performs any cache operations using the specifiedSubject
.AdvancedCache.withWrapping
(Class<? extends Wrapper> wrapper) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0.AdvancedCache.withWrapping
(Class<? extends Wrapper> keyWrapper, Class<? extends Wrapper> valueWrapper) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0.Modifier and TypeMethodDescriptiondefault AdvancedCache
<K, V> AdvancedCache.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) Apply thetransformation
on eachAdvancedCache
instance in a delegation chain, starting with the innermost implementation.default AdvancedCache
<K, V> AdvancedCache.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) Apply thetransformation
on eachAdvancedCache
instance in a delegation chain, starting with the innermost implementation. -
Uses of AdvancedCache in org.infinispan.cache.impl
Modifier and TypeClassDescriptionclass
Similar toAbstractDelegatingCache
, but forAdvancedCache
.class
AliasCache<K,
V> class
CacheImpl<K,
V> class
DecoratedCache<K,
V> A decorator to a cache, which can be built with a specific set ofFlag
s.class
EncoderCache<K,
V> class
SimpleCacheImpl<K,
V> Simple local cache without interceptor stack.class
StatsCollectingCache<K,
V> Wraps existingAdvancedCache
to collect statisticsModifier and TypeFieldDescriptionprotected final AdvancedCache
<K, V> AbstractDelegatingAdvancedCache.cache
Modifier and TypeMethodDescriptionAbstractDelegatingAdvancedCache.getAdvancedCache()
AbstractDelegatingCache.getAdvancedCache()
CacheImpl.getAdvancedCache()
SimpleCacheImpl.getAdvancedCache()
AbstractDelegatingAdvancedCache.noFlags()
CacheImpl.noFlags()
DecoratedCache.noFlags()
SimpleCacheImpl.noFlags()
abstract AdvancedCache
AbstractDelegatingAdvancedCache.rewrap
(AdvancedCache newDelegate) No generics because some methods returnAdvancedCache<?, ?>
, and returning the proper type would require erasure anyway.AliasCache.rewrap
(AdvancedCache newDelegate) DecoratedCache.rewrap
(AdvancedCache newDelegate) EncoderCache.rewrap
(AdvancedCache newDelegate) AbstractDelegatingAdvancedCache.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) CacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) SimpleCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) AdvancedCache
<?, ?> AbstractDelegatingAdvancedCache.withEncoding
(Class<? extends Encoder> encoder) AbstractDelegatingAdvancedCache.withEncoding
(Class<? extends Encoder> keyEncoder, Class<? extends Encoder> valueEncoder) CacheImpl.withEncoding
(Class<? extends Encoder> encoderClass) CacheImpl.withEncoding
(Class<? extends Encoder> keyEncoderClass, Class<? extends Encoder> valueEncoderClass) DecoratedCache.withEncoding
(Class<? extends Encoder> encoderClass) DecoratedCache.withEncoding
(Class<? extends Encoder> keyEncoderClass, Class<? extends Encoder> valueEncoderClass) EncoderCache.withEncoding
(Class<? extends Encoder> encoderClass) EncoderCache.withEncoding
(Class<? extends Encoder> keyEncoderClass, Class<? extends Encoder> valueEncoderClass) AdvancedCache
<?, ?> SimpleCacheImpl.withEncoding
(Class<? extends Encoder> encoder) AdvancedCache
<?, ?> SimpleCacheImpl.withEncoding
(Class<? extends Encoder> keyEncoder, Class<? extends Encoder> valueEncoder) AbstractDelegatingAdvancedCache.withFlags
(Collection<Flag> flags) CacheImpl.withFlags
(Collection<Flag> flags) DecoratedCache.withFlags
(Collection<Flag> flags) SimpleCacheImpl.withFlags
(Collection<Flag> flags) AdvancedCache
<?, ?> AbstractDelegatingAdvancedCache.withKeyEncoding
(Class<? extends Encoder> encoder) AdvancedCache
<?, ?> CacheImpl.withKeyEncoding
(Class<? extends Encoder> encoderClass) EncoderCache.withKeyEncoding
(Class<? extends Encoder> encoderClass) SimpleCacheImpl.withKeyEncoding
(Class<? extends Encoder> encoder) AdvancedCache
<?, ?> AbstractDelegatingAdvancedCache.withMediaType
(String keyMediaType, String valueMediaType) <K1,
V1> AdvancedCache <K1, V1> AbstractDelegatingAdvancedCache.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) CacheImpl.withMediaType
(String keyMediaType, String valueMediaType) <K1,
V1> AdvancedCache <K1, V1> CacheImpl.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) EncoderCache.withMediaType
(String keyMediaType, String valueMediaType) EncoderCache.withMediaType
(MediaType kType, MediaType vType) AdvancedCache
<?, ?> SimpleCacheImpl.withMediaType
(String keyMediaType, String valueMediaType) <K1,
V1> AdvancedCache <K1, V1> SimpleCacheImpl.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) AbstractDelegatingAdvancedCache.withStorageMediaType()
CacheImpl.withStorageMediaType()
EncoderCache.withStorageMediaType()
SimpleCacheImpl.withStorageMediaType()
AbstractDelegatingAdvancedCache.withSubject
(Subject subject) CacheImpl.withSubject
(Subject subject) SimpleCacheImpl.withSubject
(Subject subject) AbstractDelegatingAdvancedCache.withWrapping
(Class<? extends Wrapper> wrapper) Deprecated, for removal: This API element is subject to removal in a future version.AbstractDelegatingAdvancedCache.withWrapping
(Class<? extends Wrapper> keyWrapper, Class<? extends Wrapper> valueWrapper) Deprecated, for removal: This API element is subject to removal in a future version.CacheImpl.withWrapping
(Class<? extends Wrapper> wrapperClass) CacheImpl.withWrapping
(Class<? extends Wrapper> keyWrapperClass, Class<? extends Wrapper> valueWrapperClass) DecoratedCache.withWrapping
(Class<? extends Wrapper> wrapperClass) Deprecated, for removal: This API element is subject to removal in a future version.DecoratedCache.withWrapping
(Class<? extends Wrapper> keyWrapperClass, Class<? extends Wrapper> valueWrapperClass) Deprecated, for removal: This API element is subject to removal in a future version.EncoderCache.withWrapping
(Class<? extends Wrapper> wrapper) EncoderCache.withWrapping
(Class<? extends Wrapper> keyWrapperClass, Class<? extends Wrapper> valueWrapperClass) SimpleCacheImpl.withWrapping
(Class<? extends Wrapper> wrapper) SimpleCacheImpl.withWrapping
(Class<? extends Wrapper> keyWrapper, Class<? extends Wrapper> valueWrapper) Modifier and TypeMethodDescriptionabstract AdvancedCache
AbstractDelegatingAdvancedCache.rewrap
(AdvancedCache newDelegate) No generics because some methods returnAdvancedCache<?, ?>
, and returning the proper type would require erasure anyway.AliasCache.rewrap
(AdvancedCache newDelegate) DecoratedCache.rewrap
(AdvancedCache newDelegate) EncoderCache.rewrap
(AdvancedCache newDelegate) Modifier and TypeMethodDescriptionAbstractDelegatingAdvancedCache.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) AbstractDelegatingAdvancedCache.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) CacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) CacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) SimpleCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) SimpleCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) ModifierConstructorDescriptionprotected
AliasCache
(AdvancedCache<K, V> cache, String alias) EncoderCache
(AdvancedCache<K, V> cache, InternalEntryFactory entryFactory, BasicComponentRegistry componentRegistry, DataConversion keyDataConversion, DataConversion valueDataConversion) -
Uses of AdvancedCache in org.infinispan.conflict
Modifier and TypeMethodDescriptionstatic <K,
V> ConflictManager <K, V> ConflictManagerFactory.get
(AdvancedCache<K, V> cache) -
Uses of AdvancedCache in org.infinispan.expiration.impl
Modifier and TypeFieldDescriptionprotected ComponentRef
<AdvancedCache<K, V>> ExpirationManagerImpl.cacheRef
-
Uses of AdvancedCache in org.infinispan.factories
ModifierConstructorDescriptionComponentRegistry
(String cacheName, Configuration configuration, AdvancedCache<?, ?> cache, GlobalComponentRegistry globalComponents, ClassLoader defaultClassLoader) Creates an instance of the component registry. -
Uses of AdvancedCache in org.infinispan.functional.impl
Modifier and TypeMethodDescriptionstatic <K,
V> FunctionalMapImpl <K, V> FunctionalMapImpl.create
(AdvancedCache<K, V> cache) static <K,
V> FunctionalMapImpl <K, V> FunctionalMapImpl.create
(Params params, AdvancedCache<K, V> cache) -
Uses of AdvancedCache in org.infinispan.multimap.impl
Modifier and TypeFieldDescriptionprotected final AdvancedCache
<K, ListBucket<V>> EmbeddedMultimapListCache.cache
protected final AdvancedCache
<K, SortedSetBucket<V>> EmbeddedMultimapSortedSetCache.cache
protected final AdvancedCache
<K, SetBucket<V>> EmbeddedSetCache.cache
-
Uses of AdvancedCache in org.infinispan.query.impl
Modifier and TypeFieldDescriptionprotected final AdvancedCache
<Object, Object> BaseEntityLoader.cache
protected final AdvancedCache
<Object, Object> BaseEntityLoader.cache
protected final AdvancedCache
<?, ?> IndexedQueryImpl.cache
Modifier and TypeMethodDescriptionstatic Indexer
ComponentRegistryUtils.getIndexer
(AdvancedCache<?, ?> cache) ComponentRegistryUtils.getQueryStatistics
(AdvancedCache<?, ?> cache) void
QueryDefinition.initialize
(AdvancedCache<?, ?> cache) ModifierConstructorDescriptionEntityLoaderFactory
(AdvancedCache<?, ?> cache, org.infinispan.query.core.stats.impl.LocalQueryStatistics queryStatistics) IndexedQueryImpl
(String queryString, org.infinispan.objectfilter.impl.syntax.parser.IckleParsingResult.StatementType statementType, org.infinispan.query.dsl.embedded.impl.SearchQueryBuilder searchQuery, AdvancedCache<?, ?> cache, org.infinispan.query.core.stats.impl.LocalQueryStatistics queryStatistics, int defaultMaxResults) Create a IndexedQueryImpl based on a SearchQuery.IndexedQueryImpl
(QueryDefinition queryDefinition, AdvancedCache<?, ?> cache, org.infinispan.query.core.stats.impl.LocalQueryStatistics queryStatistics) IndexerConfig
(AdvancedCache<?, ?> cache) ModifierConstructorDescriptionQueryDefinition
(String queryString, org.infinispan.objectfilter.impl.syntax.parser.IckleParsingResult.StatementType statementType, SerializableFunction<AdvancedCache<?, ?>, org.infinispan.query.dsl.embedded.impl.QueryEngine<?>> queryEngineProvider, int originalMaxResults) -
Uses of AdvancedCache in org.infinispan.reactive.publisher.impl
Modifier and TypeFieldDescriptionprotected AdvancedCache
<K, V> LocalPublisherManagerImpl.cache
protected AdvancedCache
<K, V> LocalPublisherManagerImpl.remoteCache
-
Uses of AdvancedCache in org.infinispan.rest.distribution
Modifier and TypeMethodDescriptionstatic CacheDistributionInfo
CacheDistributionInfo.resolve
(AdvancedCache<?, ?> cache) static CacheDistributionInfo
CacheDistributionInfo.resolve
(AdvancedCache<?, ?> cache, CacheManagerInfo manager) static KeyDistributionInfo
KeyDistributionInfo.resolve
(AdvancedCache<?, ?> cache, boolean primary) -
Uses of AdvancedCache in org.infinispan.security
-
Uses of AdvancedCache in org.infinispan.security.actions
Modifier and TypeMethodDescriptionstatic <K,
V> AdvancedCache <K, V> SecurityActions.anonymizeSecureCache
(AdvancedCache<K, V> cache) Modifier and TypeMethodDescriptionstatic <K,
V> AdvancedCache <K, V> SecurityActions.anonymizeSecureCache
(AdvancedCache<K, V> cache) static <K> CompletionStage
<Boolean> SecurityActions.cacheContainsKeyAsync
(AdvancedCache<K, ?> ac, K key) static AuthorizationManager
SecurityActions.getCacheAuthorizationManager
(AdvancedCache<?, ?> cache) static ComponentRegistry
SecurityActions.getCacheComponentRegistry
(AdvancedCache<?, ?> cache) static Configuration
SecurityActions.getCacheConfiguration
(AdvancedCache<?, ?> cache) static CacheEntry
<String, String> SecurityActions.getCacheEntry
(AdvancedCache<String, String> cache, String key) static <K,
V> CompletionStage <CacheEntry<K, V>> SecurityActions.getCacheEntryAsync
(AdvancedCache<K, V> cache, K key) static DistributionManager
SecurityActions.getDistributionManager
(AdvancedCache<?, ?> cache) static EmbeddedCacheManager
SecurityActions.getEmbeddedCacheManager
(AdvancedCache<?, ?> cache) ModifierConstructorDescriptionCacheContainsKeyAsyncAction
(AdvancedCache<?, ?> cache, K key) GetCacheEntryAction
(AdvancedCache<?, ?> cache, K key) GetCacheEntryAsyncAction
(AdvancedCache<?, ?> cache, K key) GetEmbeddedCacheManagerAction
(AdvancedCache<?, ?> cache) -
Uses of AdvancedCache in org.infinispan.security.impl
Modifier and TypeMethodDescriptionSecureCacheImpl.getAdvancedCache()
SecureCacheImpl.getDelegate()
SecureCacheImpl.noFlags()
SecureCacheImpl.rewrap
(AdvancedCache newDelegate) SecureCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) AdvancedCache
<?, ?> SecureCacheImpl.withEncoding
(Class<? extends Encoder> encoderClass) AdvancedCache
<?, ?> SecureCacheImpl.withEncoding
(Class<? extends Encoder> keyEncoderClass, Class<? extends Encoder> valueEncoderClass) SecureCacheImpl.withFlags
(Collection<Flag> flags) AdvancedCache
<?, ?> SecureCacheImpl.withKeyEncoding
(Class<? extends Encoder> encoder) AdvancedCache
<?, ?> SecureCacheImpl.withMediaType
(String keyMediaType, String valueMediaType) <K1,
V1> AdvancedCache <K1, V1> SecureCacheImpl.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) SecureCacheImpl.withStorageMediaType()
SecureCacheImpl.withSubject
(Subject subject) SecureCacheImpl.withWrapping
(Class<? extends Wrapper> wrapperClass) SecureCacheImpl.withWrapping
(Class<? extends Wrapper> keyWrapperClass, Class<? extends Wrapper> valueWrapperClass) Modifier and TypeMethodDescriptionSecureCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) SecureCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) -
Uses of AdvancedCache in org.infinispan.server.core
Modifier and TypeMethodDescriptionCacheInfo.getCache()
CacheInfo.getCache
(KeyValuePair<MediaType, MediaType> mediaTypes, Subject subject) Modifier and TypeMethodDescriptionbyte[]
QueryFacade.query
(AdvancedCache<?, ?> cache, byte[] query) Execute a query against a cache. -
Uses of AdvancedCache in org.infinispan.server.hotrod
Modifier and TypeMethodDescriptionAdvancedCache
<byte[], byte[]> HotRodServer.cache
(HotRodServer.ExtendedCacheInfo cacheInfo, HotRodHeader header, Subject subject) -
Uses of AdvancedCache in org.infinispan.server.hotrod.tx
Modifier and TypeMethodDescription<K,
V> AdvancedCache <K, V> PrepareCoordinator.decorateCache
(AdvancedCache<K, V> cache) Decorates the cache with the transaction created.Modifier and TypeMethodDescription<K,
V> AdvancedCache <K, V> PrepareCoordinator.decorateCache
(AdvancedCache<K, V> cache) Decorates the cache with the transaction created.ModifierConstructorDescriptionPrepareCoordinator
(AdvancedCache<byte[], byte[]> cache, XidImpl xid, boolean recoverable, long transactionTimeout) -
Uses of AdvancedCache in org.infinispan.server.hotrod.tx.operation
Modifier and TypeMethodDescriptionstatic void
Util.commitLocalTransaction
(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) static void
Util.rollbackLocalTransaction
(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) -
Uses of AdvancedCache in org.infinispan.server.iteration
Modifier and TypeMethodDescriptionprotected CacheStream
<CacheEntry<Object, Object>> DefaultIterationManager.baseStream
(AdvancedCache cache, IterationInitializationContext ctx) protected CacheStream
<CacheEntry<Object, Object>> ExternalSourceIterationManager.baseStream
(AdvancedCache cache, IterationInitializationContext ctx) DefaultIterationManager.start
(AdvancedCache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType requestValueType, int batch, boolean metadata, DeliveryGuarantee guarantee, IterationInitializationContext ctx) IterationManager.start
(AdvancedCache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType valueMediaType, int batch, boolean metadata, DeliveryGuarantee guarantee, IterationInitializationContext ctx) -
Uses of AdvancedCache in org.infinispan.server.memcached
Modifier and TypeFieldDescriptionprotected final AdvancedCache
<byte[], byte[]> MemcachedBaseDecoder.cache
ModifierConstructorDescriptionprotected
MemcachedBaseDecoder
(MemcachedServer server, Subject subject, AdvancedCache<byte[], byte[]> cache) -
Uses of AdvancedCache in org.infinispan.server.resp
Modifier and TypeFieldDescriptionprotected AdvancedCache
<byte[], byte[]> CacheRespRequestHandler.cache
protected AdvancedCache
<byte[], byte[]> Resp3Handler.ignorePreviousValueCache
Modifier and TypeMethodDescriptionAdvancedCache
<byte[], byte[]> CacheRespRequestHandler.cache()
AdvancedCache
<byte[], byte[]> RespServer.getCache()
Returns the cache being used by the Resp serverAdvancedCache
<byte[], byte[]> Resp3Handler.ignorePreviousValuesCache()
<V> AdvancedCache
<byte[], V> CacheRespRequestHandler.typedCache
(MediaType valueMediaType) Modifier and TypeMethodDescriptionRespServer.newHandler
(AdvancedCache<byte[], byte[]> cache) protected void
CacheRespRequestHandler.setCache
(AdvancedCache<byte[], byte[]> cache) void
Resp3Handler.setCache
(AdvancedCache<byte[], byte[]> cache) ModifierConstructorDescriptionprotected
CacheRespRequestHandler
(RespServer respServer, AdvancedCache<byte[], byte[]> cache) protected
Resp3AuthHandler
(RespServer server, AdvancedCache<byte[], byte[]> cache) -
Uses of AdvancedCache in org.infinispan.server.resp.commands.tx
Modifier and TypeMethodDescriptionstatic CompletionStage
<List<WATCH.TxKeysListener>> UNWATCH.deregister
(io.netty.channel.ChannelHandlerContext ctx, AdvancedCache<byte[], byte[]> cache, ClientMetadata metadata) -
Uses of AdvancedCache in org.infinispan.server.resp.operation
Modifier and TypeMethodDescriptionstatic CompletionStage
<LCSResponse> LCSOperation.performOperation
(AdvancedCache<byte[], byte[]> cache, List<byte[]> arguments, boolean isLcs) static CompletionStage
<SetResponse> SetOperation.performOperation
(AdvancedCache<byte[], byte[]> cache, List<byte[]> arguments, TimeService timeService, String command) -
Uses of AdvancedCache in org.infinispan.server.resp.tx
ModifierConstructorDescriptionRespTransactionHandler
(RespServer respServer, AdvancedCache<byte[], byte[]> cache)