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.
Basic interceptors
Implementations of the
PersistenceManager interface, which define the logic
of how infinispan interacts with external stores.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 thetransformationon eachAdvancedCacheinstance in a delegation chain, starting with the innermost implementation.AdvancedCache<?, ?> AdvancedCache.withEncoding(Class<? extends org.infinispan.commons.dataconversion.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 org.infinispan.commons.dataconversion.Encoder> keyEncoder, Class<? extends org.infinispan.commons.dataconversion.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 org.infinispan.commons.dataconversion.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(org.infinispan.commons.dataconversion.MediaType keyMediaType, org.infinispan.commons.dataconversion.MediaType valueMediaType) AdvancedCache.withStorageMediaType()Perform any cache operations using the sameMediaTypeof the cache storage.AdvancedCache.withSubject(Subject subject) Performs any cache operations using the specifiedSubject.AdvancedCache.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> wrapper) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0.AdvancedCache.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> keyWrapper, Class<? extends org.infinispan.commons.dataconversion.Wrapper> valueWrapper) Deprecated, for removal: This API element is subject to removal in a future version.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 thetransformationon eachAdvancedCacheinstance 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 thetransformationon eachAdvancedCacheinstance 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 TypeClassDescriptionclassSimilar toAbstractDelegatingCache, but forAdvancedCache.classAliasCache<K,V> classCacheImpl<K,V> classDecoratedCache<K,V> A decorator to a cache, which can be built with a specific set ofFlags.classEncoderCache<K,V> Cache decoration that makes use of theEncoderandWrapperto convert between storage value and read/write value.classSimpleCacheImpl<K,V> Simple local cache without interceptor stack.classStatsCollectingCache<K,V> Wraps existingAdvancedCacheto collect statisticsFields in org.infinispan.cache.impl declared as AdvancedCacheModifier and TypeFieldDescriptionprotected final AdvancedCache<K, V> AbstractDelegatingAdvancedCache.cacheMethods 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 AdvancedCacheAbstractDelegatingAdvancedCache.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 org.infinispan.commons.dataconversion.Encoder> encoder) AbstractDelegatingAdvancedCache.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> keyEncoder, Class<? extends org.infinispan.commons.dataconversion.Encoder> valueEncoder) CacheImpl.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoderClass) CacheImpl.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> keyEncoderClass, Class<? extends org.infinispan.commons.dataconversion.Encoder> valueEncoderClass) DecoratedCache.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoderClass) DecoratedCache.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> keyEncoderClass, Class<? extends org.infinispan.commons.dataconversion.Encoder> valueEncoderClass) EncoderCache.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoderClass) EncoderCache.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> keyEncoderClass, Class<? extends org.infinispan.commons.dataconversion.Encoder> valueEncoderClass) AdvancedCache<?, ?> SimpleCacheImpl.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoder) AdvancedCache<?, ?> SimpleCacheImpl.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> keyEncoder, Class<? extends org.infinispan.commons.dataconversion.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 org.infinispan.commons.dataconversion.Encoder> encoder) AdvancedCache<?, ?> CacheImpl.withKeyEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoderClass) EncoderCache.withKeyEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoderClass) SimpleCacheImpl.withKeyEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoder) AdvancedCache<?, ?> AbstractDelegatingAdvancedCache.withMediaType(String keyMediaType, String valueMediaType) <K1,V1> AdvancedCache <K1, V1> AbstractDelegatingAdvancedCache.withMediaType(org.infinispan.commons.dataconversion.MediaType keyMediaType, org.infinispan.commons.dataconversion.MediaType valueMediaType) CacheImpl.withMediaType(String keyMediaType, String valueMediaType) <K1,V1> AdvancedCache <K1, V1> CacheImpl.withMediaType(org.infinispan.commons.dataconversion.MediaType keyMediaType, org.infinispan.commons.dataconversion.MediaType valueMediaType) EncoderCache.withMediaType(String keyMediaType, String valueMediaType) EncoderCache.withMediaType(org.infinispan.commons.dataconversion.MediaType kType, org.infinispan.commons.dataconversion.MediaType vType) AdvancedCache<?, ?> SimpleCacheImpl.withMediaType(String keyMediaType, String valueMediaType) <K1,V1> AdvancedCache <K1, V1> SimpleCacheImpl.withMediaType(org.infinispan.commons.dataconversion.MediaType keyMediaType, org.infinispan.commons.dataconversion.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 org.infinispan.commons.dataconversion.Wrapper> wrapper) Deprecated, for removal: This API element is subject to removal in a future version.AbstractDelegatingAdvancedCache.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> keyWrapper, Class<? extends org.infinispan.commons.dataconversion.Wrapper> valueWrapper) Deprecated, for removal: This API element is subject to removal in a future version.CacheImpl.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> wrapperClass) CacheImpl.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> keyWrapperClass, Class<? extends org.infinispan.commons.dataconversion.Wrapper> valueWrapperClass) DecoratedCache.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> wrapperClass) Deprecated, for removal: This API element is subject to removal in a future version.DecoratedCache.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> keyWrapperClass, Class<? extends org.infinispan.commons.dataconversion.Wrapper> valueWrapperClass) Deprecated, for removal: This API element is subject to removal in a future version.EncoderCache.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> wrapper) EncoderCache.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> keyWrapperClass, Class<? extends org.infinispan.commons.dataconversion.Wrapper> valueWrapperClass) SimpleCacheImpl.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> wrapper) SimpleCacheImpl.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> keyWrapper, Class<? extends org.infinispan.commons.dataconversion.Wrapper> valueWrapper) Methods in org.infinispan.cache.impl with parameters of type AdvancedCacheModifier and TypeMethodDescriptionabstract AdvancedCacheAbstractDelegatingAdvancedCache.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) 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 AdvancedCacheModifierConstructorDescriptionprotectedAliasCache(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
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.interceptors.impl
Methods in org.infinispan.interceptors.impl with parameters of type AdvancedCacheModifier and TypeMethodDescriptionstatic intCacheMgmtInterceptor.calculateRequiredMinimumNumberOfNodes(AdvancedCache<?, ?> cache, ComponentRegistry componentRegistry) -
Uses of AdvancedCache in org.infinispan.persistence.manager
Fields in org.infinispan.persistence.manager with type parameters of type AdvancedCache -
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.cacheprotected AdvancedCache<K, V> LocalPublisherManagerImpl.remoteCache -
Uses of AdvancedCache in org.infinispan.security
Subinterfaces of AdvancedCache in org.infinispan.security -
Uses of AdvancedCache in org.infinispan.security.actions
Methods in org.infinispan.security.actions that return AdvancedCacheModifier and TypeMethodDescriptionstatic <K,V> AdvancedCache <K, V> SecurityActions.anonymizeSecureCache(AdvancedCache<K, V> cache) Methods in org.infinispan.security.actions with parameters of type AdvancedCacheModifier 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 AuthorizationManagerSecurityActions.getCacheAuthorizationManager(AdvancedCache<?, ?> cache) static ComponentRegistrySecurityActions.getCacheComponentRegistry(AdvancedCache<?, ?> cache) static ConfigurationSecurityActions.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 DistributionManagerSecurityActions.getDistributionManager(AdvancedCache<?, ?> cache) static EmbeddedCacheManagerSecurityActions.getEmbeddedCacheManager(AdvancedCache<?, ?> cache) Constructors in org.infinispan.security.actions with parameters of type AdvancedCacheModifierConstructorDescriptionCacheContainsKeyAsyncAction(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
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.rewrap(AdvancedCache newDelegate) SecureCacheImpl.transform(Function<AdvancedCache<K, V>, ? extends AdvancedCache<K, V>> transformation) AdvancedCache<?, ?> SecureCacheImpl.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoderClass) AdvancedCache<?, ?> SecureCacheImpl.withEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> keyEncoderClass, Class<? extends org.infinispan.commons.dataconversion.Encoder> valueEncoderClass) SecureCacheImpl.withFlags(Collection<Flag> flags) AdvancedCache<?, ?> SecureCacheImpl.withKeyEncoding(Class<? extends org.infinispan.commons.dataconversion.Encoder> encoder) AdvancedCache<?, ?> SecureCacheImpl.withMediaType(String keyMediaType, String valueMediaType) <K1,V1> AdvancedCache <K1, V1> SecureCacheImpl.withMediaType(org.infinispan.commons.dataconversion.MediaType keyMediaType, org.infinispan.commons.dataconversion.MediaType valueMediaType) SecureCacheImpl.withStorageMediaType()SecureCacheImpl.withSubject(Subject subject) SecureCacheImpl.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> wrapperClass) SecureCacheImpl.withWrapping(Class<? extends org.infinispan.commons.dataconversion.Wrapper> keyWrapperClass, Class<? extends org.infinispan.commons.dataconversion.Wrapper> valueWrapperClass) Methods in org.infinispan.security.impl with parameters of type AdvancedCacheMethod 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