Uses of Interface
org.infinispan.AdvancedCache
Packages that use 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
Methods in org.infinispan that return AdvancedCacheModifier 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.with
(ClassLoader classLoader) Deprecated, for removal: This API element is subject to removal in a future version.Since 9.4, unmarshalling always uses the classloader from the global configuration.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.Since 11.0.AdvancedCache.withWrapping
(Class<? extends Wrapper> keyWrapper, Class<? extends Wrapper> valueWrapper) Deprecated.Since 11.0.Method parameters in org.infinispan with type arguments of type AdvancedCacheModifier 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
Classes in org.infinispan.cache.impl that implement AdvancedCacheModifier and TypeClassDescriptionclass
Similar toAbstractDelegatingCache
, but forAdvancedCache
.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 statisticsFields in org.infinispan.cache.impl declared as AdvancedCacheModifier and TypeFieldDescriptionprotected final AdvancedCache<K,
V> AbstractDelegatingAdvancedCache.cache
Methods in org.infinispan.cache.impl that return AdvancedCacheModifier 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.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) AbstractDelegatingAdvancedCache.with
(ClassLoader classLoader) CacheImpl.with
(ClassLoader classLoader) DecoratedCache.with
(ClassLoader classLoader) SimpleCacheImpl.with
(ClassLoader classLoader) StatsCollectingCache.with
(ClassLoader classLoader) 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) Methods in org.infinispan.cache.impl with parameters of type AdvancedCacheModifier and TypeMethodDescriptionabstract AdvancedCache
AbstractDelegatingAdvancedCache.rewrap
(AdvancedCache newDelegate) No generics because some methods returnAdvancedCache<?, ?>
, and returning the proper type would require erasure anyway.DecoratedCache.rewrap
(AdvancedCache newDelegate) EncoderCache.rewrap
(AdvancedCache newDelegate) Method parameters in org.infinispan.cache.impl with type arguments of type AdvancedCacheModifier 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) Constructors in org.infinispan.cache.impl with parameters of type AdvancedCacheModifierConstructorDescriptionprotected
EncoderCache
(AdvancedCache<K, V> cache, InternalEntryFactory entryFactory, BasicComponentRegistry componentRegistry, DataConversion keyDataConversion, DataConversion valueDataConversion) -
Uses of AdvancedCache in org.infinispan.conflict
Methods in org.infinispan.conflict with parameters of type AdvancedCacheModifier and TypeMethodDescriptionstatic <K,
V> ConflictManager<K, V> ConflictManagerFactory.get
(AdvancedCache<K, V> cache) -
Uses of AdvancedCache in org.infinispan.expiration.impl
Fields in org.infinispan.expiration.impl declared as AdvancedCacheFields in org.infinispan.expiration.impl with type parameters of type AdvancedCacheModifier and TypeFieldDescriptionprotected ComponentRef<AdvancedCache<K,
V>> ExpirationManagerImpl.cacheRef
-
Uses of AdvancedCache in org.infinispan.factories
Methods in org.infinispan.factories that return types with arguments of type AdvancedCacheConstructors in org.infinispan.factories with parameters of type AdvancedCacheModifierConstructorDescriptionComponentRegistry
(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
Methods in org.infinispan.functional.impl with parameters of type AdvancedCacheModifier 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.query.impl
Fields in org.infinispan.query.impl declared as AdvancedCacheMethods in org.infinispan.query.impl with parameters of type AdvancedCacheModifier and TypeMethodDescriptionstatic Indexer
ComponentRegistryUtils.getIndexer
(AdvancedCache<?, ?> cache) ComponentRegistryUtils.getQueryStatistics
(AdvancedCache<?, ?> cache) void
QueryDefinition.initialize
(AdvancedCache<?, ?> cache) Constructors in org.infinispan.query.impl with parameters of type AdvancedCacheModifierConstructorDescriptionEntityLoader
(AdvancedCache<?, E> 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) Constructor parameters in org.infinispan.query.impl with type arguments of type AdvancedCacheModifierConstructorDescriptionQueryDefinition
(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
Fields in org.infinispan.reactive.publisher.impl declared as AdvancedCacheModifier and TypeFieldDescriptionprotected AdvancedCache<K,
V> LocalPublisherManagerImpl.cache
protected AdvancedCache<K,
V> LocalPublisherManagerImpl.remoteCache
-
Uses of AdvancedCache in org.infinispan.rest.distribution
Methods in org.infinispan.rest.distribution with parameters of type AdvancedCacheModifier and TypeMethodDescriptionstatic CacheDistributionInfo
CacheDistributionInfo.resolve
(AdvancedCache<?, ?> cache) static CacheDistributionInfo
CacheDistributionInfo.resolve
(AdvancedCache<?, ?> cache, CacheManagerInfo manager) -
Uses of AdvancedCache in org.infinispan.security
Subinterfaces of AdvancedCache in org.infinispan.security -
Uses of AdvancedCache in org.infinispan.security.actions
Constructors in org.infinispan.security.actions with parameters of type AdvancedCacheModifierConstructorDescriptionGetCacheAuthorizationManagerAction
(AdvancedCache<?, ?> cache) GetCacheAvailabilityAction
(AdvancedCache<?, ?> cache) GetCacheComponentRegistryAction
(AdvancedCache<?, ?> cache) GetCacheConfigurationAction
(AdvancedCache<?, ?> cache) GetCacheDistributionManagerAction
(AdvancedCache<?, ?> cache) GetCacheEntryAction
(AdvancedCache<?, ?> cache, K key) GetCacheEntryAsyncAction
(AdvancedCache<?, ?> cache, K key) GetCacheInterceptorChainAction
(AdvancedCache<?, ?> cache) GetCacheLockManagerAction
(AdvancedCache<?, ?> cache) GetCacheRpcManagerAction
(AdvancedCache<?, ?> cache) GetCacheStatusAction
(AdvancedCache<?, ?> cache) GetEmbeddedCacheManagerAction
(AdvancedCache<?, ?> cache) SetCacheAvailabilityAction
(AdvancedCache<?, ?> cache, AvailabilityMode availabilityMode) -
Uses of AdvancedCache in org.infinispan.security.impl
Classes in org.infinispan.security.impl that implement AdvancedCacheMethods in org.infinispan.security.impl that return AdvancedCacheModifier and TypeMethodDescriptionSecureCacheImpl.getAdvancedCache()
SecureCacheImpl.getDelegate()
SecureCacheImpl.noFlags()
SecureCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) SecureCacheImpl.with
(ClassLoader classLoader) 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) Method parameters in org.infinispan.security.impl with type arguments of type AdvancedCacheModifier and TypeMethodDescriptionSecureCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) SecureCacheImpl.transform
(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) Constructors in org.infinispan.security.impl with parameters of type AdvancedCache -
Uses of AdvancedCache in org.infinispan.server.core
Fields in org.infinispan.server.core declared as AdvancedCacheMethods in org.infinispan.server.core that return AdvancedCacheModifier and TypeMethodDescriptionCacheInfo.getCache()
CacheInfo.getCache
(KeyValuePair<MediaType, MediaType> mediaTypes, Subject subject) Methods in org.infinispan.server.core with parameters of type AdvancedCacheModifier and TypeMethodDescriptionbyte[]
QueryFacade.query
(AdvancedCache<?, ?> cache, byte[] query) Execute a query against a cache.Constructors in org.infinispan.server.core with parameters of type AdvancedCache -
Uses of AdvancedCache in org.infinispan.server.hotrod
Methods in org.infinispan.server.hotrod that return AdvancedCacheModifier and TypeMethodDescriptionAdvancedCache<byte[],
byte[]> HotRodServer.cache
(HotRodServer.ExtendedCacheInfo cacheInfo, HotRodHeader header, Subject subject) -
Uses of AdvancedCache in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration with parameters of type AdvancedCacheModifier and TypeMethodDescriptionDefaultIterationManager.start
(AdvancedCache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType requestValueType, int batch, boolean metadata) IterationManager.start
(AdvancedCache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType valueMediaType, int batch, boolean metadata) -
Uses of AdvancedCache in org.infinispan.server.hotrod.tx
Methods in org.infinispan.server.hotrod.tx that return AdvancedCacheModifier and TypeMethodDescription<K,
V> AdvancedCache<K, V> PrepareCoordinator.decorateCache
(AdvancedCache<K, V> cache) Decorates the cache with the transaction created.Methods in org.infinispan.server.hotrod.tx with parameters of type AdvancedCacheModifier and TypeMethodDescription<K,
V> AdvancedCache<K, V> PrepareCoordinator.decorateCache
(AdvancedCache<K, V> cache) Decorates the cache with the transaction created.Constructors in org.infinispan.server.hotrod.tx with parameters of type AdvancedCacheModifierConstructorDescriptionPrepareCoordinator
(AdvancedCache<byte[], byte[]> cache, XidImpl xid, boolean recoverable, long transactionTimeout) -
Uses of AdvancedCache in org.infinispan.server.hotrod.tx.operation
Methods in org.infinispan.server.hotrod.tx.operation with parameters of type AdvancedCacheModifier 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.memcached
Constructors in org.infinispan.server.memcached with parameters of type AdvancedCacheModifierConstructorDescriptionMemcachedDecoder
(AdvancedCache<byte[], byte[]> memcachedCache, ScheduledExecutorService scheduler, NettyTransport transport, Predicate<? super String> ignoreCache, MediaType valuePayload)