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.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.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
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.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) Modifier 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) 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
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.query.impl
Modifier and TypeMethodDescriptionstatic Indexer
ComponentRegistryUtils.getIndexer
(AdvancedCache<?, ?> cache) ComponentRegistryUtils.getQueryStatistics
(AdvancedCache<?, ?> cache) void
QueryDefinition.initialize
(AdvancedCache<?, ?> cache) ModifierConstructorDescriptionEntityLoader
(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) 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) -
Uses of AdvancedCache in org.infinispan.security
-
Uses of AdvancedCache in org.infinispan.security.actions
ModifierConstructorDescriptionGetCacheAuthorizationManagerAction
(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
Modifier 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) 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.iteration
Modifier 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
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.memcached
ModifierConstructorDescriptionMemcachedDecoder
(AdvancedCache<byte[], byte[]> memcachedCache, ScheduledExecutorService scheduler, NettyTransport transport, Predicate<? super String> ignoreCache, MediaType valuePayload)