Uses of Interface
org.infinispan.Cache
-
Packages that use Cache Package Description org.infinispan This is the core of Infinispan, a distributed, transactional, highly scalable data grid platform.org.infinispan.affinity This package contains theKeyAffinityService
interfaces which allow user code to determine mapping of keys onto nodesorg.infinispan.affinity.impl org.infinispan.atomic This package contains theAtomicMap
interfaces and API that Infinispan exposes as building blocks in creating other public interfaces such as the Tree API.org.infinispan.atomic.impl org.infinispan.cache.impl org.infinispan.commands Commands that operate on the cache, either locally or remotely.org.infinispan.distexec Distributed Executor APIs (deprecated)org.infinispan.distexec.spi org.infinispan.factories Factories are internal components used to create other components based on a cache's configuration.org.infinispan.globalstate.impl org.infinispan.health.impl org.infinispan.interceptors Infinispan is designed around a set of interceptors around a data container.org.infinispan.interceptors.base Base interceptors containing common, reusable behavior.org.infinispan.interceptors.distribution Interceptors dealing with command replication in distributed/replicated mode.org.infinispan.io Provides Infinispan-specific input and output streams, buffers and related utilities.org.infinispan.manager Cache manager API.org.infinispan.manager.impl org.infinispan.multimap.impl org.infinispan.notifications.cachelistener.cluster org.infinispan.notifications.cachelistener.event Cache
-specific listener eventsorg.infinispan.notifications.cachelistener.event.impl org.infinispan.persistence Persistence API.org.infinispan.persistence.remote.upgrade org.infinispan.persistence.rest.upgrade org.infinispan.persistence.spi The Persistence SPI.org.infinispan.persistence.support org.infinispan.query Query API.org.infinispan.query.affinity This package contains the implementation of the AffinityIndexManager, that maintains an index divided into shards with storage using the Infinispan Lucene directory.org.infinispan.query.continuous.impl org.infinispan.query.impl Query module internals.org.infinispan.query.remote.impl org.infinispan.query.spi org.infinispan.remoting Remote communication between cache instances.org.infinispan.security Security API.org.infinispan.security.actions org.infinispan.security.impl org.infinispan.server.hotrod org.infinispan.server.hotrod.iteration org.infinispan.server.hotrod.tx.table org.infinispan.spring Spring Infinispan - Shared classes.org.infinispan.spring.support.embedded org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.stats.impl org.infinispan.stats.topK org.infinispan.stream Cache stream processing.org.infinispan.stream.impl org.infinispan.tasks Server tasks API.org.infinispan.tree TreeCache API.org.infinispan.tree.impl org.infinispan.upgrade 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.org.infinispan.xsite -
-
Uses of Cache in org.infinispan
Subinterfaces of Cache in org.infinispan Modifier and Type Interface Description interface
AdvancedCache<K,V>
An advanced interface that exposes additional methods not available onCache
.Classes in org.infinispan that implement Cache Modifier and Type Class Description class
AbstractDelegatingAdvancedCache<K,V>
Deprecated.Extend fromAbstractDelegatingAdvancedCache
instead.class
AbstractDelegatingCache<K,V>
Deprecated.Extend fromAbstractDelegatingCache
instead.Method parameters in org.infinispan with type arguments of type Cache Modifier and Type Method Description <K,V>
voidCacheStream. forEach(BiConsumer<Cache<K,V>,? super R> action)
Same asCacheStream.forEach(Consumer)
except that it takes aBiConsumer
that provides access to the underlyingCache
that is backing this stream.default <K,V>
voidCacheStream. forEach(SerializableBiConsumer<Cache<K,V>,? super R> action)
<K,V>
voidDoubleCacheStream. forEach(ObjDoubleConsumer<Cache<K,V>> action)
Same asDoubleStream.forEach(DoubleConsumer)
except that it takes anObjDoubleConsumer
that provides access to the underlyingCache
that is backing this stream.default <K,V>
voidDoubleCacheStream. forEach(SerializableObjDoubleConsumer<Cache<K,V>> action)
Same asDoubleCacheStream.forEach(ObjDoubleConsumer)
except that theBiConsumer
must also implementSerializable
<K,V>
voidIntCacheStream. forEach(ObjIntConsumer<Cache<K,V>> action)
Same asIntStream.forEach(IntConsumer)
except that it takes anObjIntConsumer
that provides access to the underlyingCache
that is backing this stream.default <K,V>
voidIntCacheStream. forEach(SerializableObjIntConsumer<Cache<K,V>> action)
Same asIntCacheStream.forEach(ObjIntConsumer)
except that theBiConsumer
must also implementSerializable
void
LockedStream. 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 void
LockedStream. forEach(SerializableBiConsumer<Cache<K,V>,? super CacheEntry<K,V>> biConsumer)
Same asLockedStream.forEach(BiConsumer)
except that the BiConsumer must also implementSerializable
<K,V>
voidLongCacheStream. forEach(ObjLongConsumer<Cache<K,V>> action)
Same asLongStream.forEach(LongConsumer)
except that it takes anObjLongConsumer
that provides access to the underlyingCache
that is backing this stream.default <K,V>
voidLongCacheStream. forEach(SerializableObjLongConsumer<Cache<K,V>> action)
Same asLongCacheStream.forEach(ObjLongConsumer)
except that theBiConsumer
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
Constructors in org.infinispan with parameters of type Cache Constructor Description AbstractDelegatingCache(Cache<K,V> cache)
Deprecated. -
Uses of Cache in org.infinispan.affinity
Methods in org.infinispan.affinity with parameters of type Cache Modifier and Type Method Description static <K,V>
KeyAffinityService<K>KeyAffinityServiceFactory. newKeyAffinityService(Cache<K,V> cache, Collection<Address> filter, KeyGenerator<K> keyGenerator, Executor ex, int keyBufferSize)
static <K,V>
KeyAffinityService<K>KeyAffinityServiceFactory. newKeyAffinityService(Cache<K,V> cache, Collection<Address> filter, KeyGenerator<K> keyGenerator, Executor ex, int keyBufferSize, boolean start)
Creates a service that would only generate keys for addresses specified in filter.static <K,V>
KeyAffinityService<K>KeyAffinityServiceFactory. newKeyAffinityService(Cache<K,V> cache, Executor ex, KeyGenerator<K> keyGenerator, int keyBufferSize)
static <K,V>
KeyAffinityService<K>KeyAffinityServiceFactory. newKeyAffinityService(Cache<K,V> cache, Executor ex, KeyGenerator<K> keyGenerator, int keyBufferSize, boolean start)
Creates anKeyAffinityService
instance that generates keys mapped to all addresses in the cluster.static <K,V>
KeyAffinityService<K>KeyAffinityServiceFactory. newLocalKeyAffinityService(Cache<K,V> cache, KeyGenerator<K> keyGenerator, Executor ex, int keyBufferSize)
static <K,V>
KeyAffinityService<K>KeyAffinityServiceFactory. newLocalKeyAffinityService(Cache<K,V> cache, KeyGenerator<K> keyGenerator, Executor ex, int keyBufferSize, boolean start)
Created an service that only generates keys for the local address.Constructors in org.infinispan.affinity with parameters of type Cache Constructor Description KeyAffinityServiceImpl(Executor executor, Cache<? extends K,?> cache, KeyGenerator<? extends K> keyGenerator, int bufferSize, Collection<Address> filter, boolean start)
Deprecated. -
Uses of Cache in org.infinispan.affinity.impl
Constructors in org.infinispan.affinity.impl with parameters of type Cache Constructor Description KeyAffinityServiceImpl(Executor executor, Cache<? extends K,?> cache, KeyGenerator<? extends K> keyGenerator, int bufferSize, Collection<Address> filter, boolean start)
-
Uses of Cache in org.infinispan.atomic
Methods in org.infinispan.atomic with parameters of type Cache Modifier and Type Method Description static <MK,K,V>
AtomicMap<K,V>AtomicMapLookup. getAtomicMap(Cache<MK,?> cache, MK key)
Retrieves an atomic map from a given cache, stored under a given key.static <MK,K,V>
AtomicMap<K,V>AtomicMapLookup. getAtomicMap(Cache<MK,?> cache, MK key, boolean createIfAbsent)
Retrieves an atomic map from a given cache, stored under a given key.static <MK,K,V>
FineGrainedAtomicMap<K,V>AtomicMapLookup. getFineGrainedAtomicMap(Cache<MK,?> cache, MK key)
Retrieves a fine grained atomic map from a given cache, stored under a given key.static <MK,K,V>
FineGrainedAtomicMap<K,V>AtomicMapLookup. getFineGrainedAtomicMap(Cache<MK,?> cache, MK key, boolean createIfAbsent)
Retrieves an atomic map from a given cache, stored under a given key.static <MK,K,V>
Map<K,V>AtomicMapLookup. getReadOnlyAtomicMap(Cache<MK,?> cache, MK key)
Retrieves an atomic map from a given cache, stored under a given key, for reading only.static <MK> void
AtomicMapLookup. removeAtomicMap(Cache<MK,?> cache, MK key)
Removes the atomic map associated with the given key from the underlying cache. -
Uses of Cache in org.infinispan.atomic.impl
Methods in org.infinispan.atomic.impl with parameters of type Cache Modifier and Type Method Description static <K,V,MK>
AtomicMap<K,V>AtomicMapProxyImpl. newInstance(Cache<MK,Object> cache, MK key, boolean createIfAbsent)
static <K,V,MK>
FineGrainedAtomicMap<K,V>FineGrainedAtomicMapProxyImpl. newInstance(Cache<Object,Object> cache, MK group, boolean createIfAbsent)
static void
FineGrainedAtomicMapProxyImpl. removeMap(Cache<Object,Object> cache, Object group)
Warning: with pessimistic locking/optimistic locking without WSC, when the map is removed and a new key is added before the removal transaction commit, the map may be removed but the key left dangling.Constructors in org.infinispan.atomic.impl with parameters of type Cache Constructor Description AtomicMapProxyImpl(Cache<MK,Object> cache, FunctionalMap.ReadWriteMap<MK,Object> rw, MK key)
FineGrainedAtomicMapProxyImpl(Cache<Object,Object> cache, FunctionalMap.ReadOnlyMap<Object,Object> ro, FunctionalMap.ReadWriteMap<Object,Object> rw, FunctionalMap.WriteOnlyMap<Object,Object> wo, MK group, InvocationContextFactory icf, EntryFactory entryFactory)
-
Uses of Cache in org.infinispan.cache.impl
Classes in org.infinispan.cache.impl that implement Cache Modifier and Type Class Description class
AbstractDelegatingAdvancedCache<K,V>
Similar toAbstractDelegatingCache
, but forAdvancedCache
.class
AbstractDelegatingCache<K,V>
This is a convenient base class for implementing a cache delegate.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>
Cache decoration that makes use of theEncoder
andWrapper
to convert between storage value and read/write value.class
SimpleCacheImpl<K,V>
Simple local cache without interceptor stack.class
StatsCollectingCache<K,V>
Wraps existingAdvancedCache
to collect statisticsMethods in org.infinispan.cache.impl that return Cache Modifier and Type Method Description static <K,V>
Cache<K,V>Caches. getCacheWithFlags(Cache<K,V> cache, FlagAffectedCommand command)
Cache<K,V>
AbstractDelegatingCache. getDelegate()
static <K,V>
Cache<K,V>AbstractDelegatingCache. unwrapCache(Cache<K,V> cache)
Fully unwraps a given cache returning the base cache.Methods in org.infinispan.cache.impl with parameters of type Cache Modifier and Type Method Description static <K,V>
Cache<K,V>Caches. getCacheWithFlags(Cache<K,V> cache, FlagAffectedCommand command)
static <K,V>
Cache<K,V>AbstractDelegatingCache. unwrapCache(Cache<K,V> cache)
Fully unwraps a given cache returning the base cache.Constructors in org.infinispan.cache.impl with parameters of type Cache Constructor Description AbstractDelegatingCache(Cache<K,V> cache)
-
Uses of Cache in org.infinispan.commands
Methods in org.infinispan.commands with parameters of type Cache Modifier and Type Method Description protected void
CreateCacheCommand. waitForCacheToStabilize(Cache<Object,Object> cache, Configuration cacheConfig)
-
Uses of Cache in org.infinispan.distexec
Methods in org.infinispan.distexec with parameters of type Cache Modifier and Type Method Description static ExecutorService
DefaultExecutorService. createLocalExecutor(Cache<?,?> masterCacheNode)
Deprecated.void
DistributedCallable. setEnvironment(Cache<K,V> cache, Set<K> inputKeys)
Invoked by execution environment after DistributedCallable has been migrated for execution to a specific Infinispan node.Constructors in org.infinispan.distexec with parameters of type Cache Constructor Description DefaultExecutorService(Cache<?,?> masterCacheNode)
Deprecated.Creates a new DefaultExecutorService given a master cache node for local task execution.DefaultExecutorService(Cache<?,?> masterCacheNode, ExecutorService localExecutorService)
Deprecated.Creates a new DefaultExecutorService given a master cache node and an ExecutorService for parallel execution of tasks ran on this node.DefaultExecutorService(Cache<?,?> masterCacheNode, ExecutorService localExecutorService, boolean takeExecutorOwnership)
Deprecated.Creates a new DefaultExecutorService given a master cache node and an ExecutorService for parallel execution of task ran on this node. -
Uses of Cache in org.infinispan.distexec.spi
Methods in org.infinispan.distexec.spi with parameters of type Cache Modifier and Type Method Description <T,K,V>
voidDefaultDistributedTaskLifecycle. onPreExecute(Callable<T> task, Cache<K,V> inputCache, Collection<K> inputKeys)
<T,K,V>
voidDistributedTaskLifecycle. onPreExecute(Callable<T> task, Cache<K,V> inputDataCache, Collection<K> inputKeys)
<T,K,V>
voidDistributedTaskLifecycleService. onPreExecute(Callable<T> task, Cache<K,V> inputCache, Collection<K> inputKeys)
-
Uses of Cache in org.infinispan.factories
Methods in org.infinispan.factories that return Cache Modifier and Type Method Description Cache<K,V>
InternalCacheFactory. createCache(Configuration configuration, GlobalComponentRegistry globalComponentRegistry, String cacheName)
This implementation clones the configuration passed in before using it. -
Uses of Cache in org.infinispan.globalstate.impl
Methods in org.infinispan.globalstate.impl that return Cache Modifier and Type Method Description Cache<ScopedState,Object>
GlobalConfigurationManagerImpl. getStateCache()
-
Uses of Cache in org.infinispan.health.impl
Constructors in org.infinispan.health.impl with parameters of type Cache Constructor Description CacheHealthImpl(Cache<?,?> cache)
-
Uses of Cache in org.infinispan.interceptors
Fields in org.infinispan.interceptors declared as Cache Modifier and Type Field Description protected Cache<?,?>
BaseCustomAsyncInterceptor. cache
-
Uses of Cache in org.infinispan.interceptors.base
Fields in org.infinispan.interceptors.base declared as Cache Modifier and Type Field Description protected Cache<?,?>
BaseCustomInterceptor. cache
Deprecated.Methods in org.infinispan.interceptors.base that return Cache Modifier and Type Method Description protected <K,V>
Cache<K,V>CommandInterceptor. getCacheWithFlags(Cache<K,V> cache, FlagAffectedCommand command)
Deprecated.Methods in org.infinispan.interceptors.base with parameters of type Cache Modifier and Type Method Description protected <K,V>
Cache<K,V>CommandInterceptor. getCacheWithFlags(Cache<K,V> cache, FlagAffectedCommand command)
Deprecated. -
Uses of Cache in org.infinispan.interceptors.distribution
Constructors in org.infinispan.interceptors.distribution with parameters of type Cache Constructor Description BackingKeySet(Cache<K,V> cache, CacheSet<K> keySet, FlagAffectedCommand command)
-
Uses of Cache in org.infinispan.io
Fields in org.infinispan.io declared as Cache Modifier and Type Field Description protected Cache<String,byte[]>
GridFilesystem. data
protected Cache<String,GridFile.Metadata>
GridFilesystem. metadata
Constructors in org.infinispan.io with parameters of type Cache Constructor Description GridFilesystem(Cache<String,byte[]> data, Cache<String,GridFile.Metadata> metadata)
GridFilesystem(Cache<String,byte[]> data, Cache<String,GridFile.Metadata> metadata, int defaultChunkSize)
Creates an instance. -
Uses of Cache in org.infinispan.manager
Methods in org.infinispan.manager that return Cache Modifier and Type Method Description <K,V>
Cache<K,V>DefaultCacheManager. createCache(String name, Configuration configuration)
<K,V>
Cache<K,V>DefaultCacheManagerAdmin. createCache(String cacheName, String template)
<K,V>
Cache<K,V>DefaultCacheManagerAdmin. createCache(String cacheName, Configuration configuration)
<K,V>
Cache<K,V>EmbeddedCacheManager. createCache(String name, Configuration configuration)
Creates a cache on the local node using the supplied configuration.<K,V>
Cache<K,V>EmbeddedCacheManagerAdmin. createCache(String name, String template)
Creates a cache on the container using the specified template.<K,V>
Cache<K,V>EmbeddedCacheManagerAdmin. createCache(String name, Configuration configuration)
Creates a cache across the cluster.<K,V>
Cache<K,V>CacheContainer. getCache()
This method overrides the underlyingCacheContainer.getCache()
, to return aCache
instead of aBasicCache
<K,V>
Cache<K,V>CacheContainer. getCache(String cacheName)
This method overrides the underlyingCacheContainer.getCache(String)
, to return aCache
instead of aBasicCache
<K,V>
Cache<K,V>DefaultCacheManager. getCache()
Retrieves the default cache associated with this cache manager.<K,V>
Cache<K,V>DefaultCacheManager. getCache(String cacheName)
Retrieves a named cache from the system.<K,V>
Cache<K,V>DefaultCacheManager. getCache(String cacheName, boolean createIfAbsent)
<K,V>
Cache<K,V>DefaultCacheManager. getCache(String cacheName, String configurationName)
<K,V>
Cache<K,V>DefaultCacheManager. getCache(String cacheName, String configurationTemplate, boolean createIfAbsent)
<K,V>
Cache<K,V>EmbeddedCacheManager. getCache(String cacheName, boolean createIfAbsent)
Retrieves a named cache from the system in the same way thatCacheContainer.getCache(String)
does except that if offers the possibility for the named cache not to be retrieved if it has not yet been started, or if it's been removed after being started.<K,V>
Cache<K,V>EmbeddedCacheManager. getCache(String cacheName, String configurationName)
Deprecated.as of 9.0.<K,V>
Cache<K,V>EmbeddedCacheManager. getCache(String cacheName, String configurationTemplate, boolean createIfAbsent)
Deprecated.as of 9.0.<K,V>
Cache<K,V>DefaultCacheManagerAdmin. getOrCreateCache(String cacheName, String template)
<K,V>
Cache<K,V>DefaultCacheManagerAdmin. getOrCreateCache(String cacheName, Configuration configuration)
<K,V>
Cache<K,V>EmbeddedCacheManagerAdmin. getOrCreateCache(String name, String template)
Retrieves an existing cache or creates one using the specified template if it doesn't exist<K,V>
Cache<K,V>EmbeddedCacheManagerAdmin. getOrCreateCache(String name, Configuration configuration)
Retrieves an existing cache or creates one across the cluster using the specified configuration.<K,V>
Cache<K,V>DefaultCacheManager. internalGetCache(String cacheName, String configurationName)
-
Uses of Cache in org.infinispan.manager.impl
Methods in org.infinispan.manager.impl that return Cache Modifier and Type Method Description <K,V>
Cache<K,V>AbstractDelegatingEmbeddedCacheManager. createCache(String name, Configuration configuration)
<K,V>
Cache<K,V>AbstractDelegatingEmbeddedCacheManager. getCache()
<K,V>
Cache<K,V>AbstractDelegatingEmbeddedCacheManager. getCache(String cacheName)
<K,V>
Cache<K,V>AbstractDelegatingEmbeddedCacheManager. getCache(String cacheName, boolean createIfAbsent)
<K,V>
Cache<K,V>AbstractDelegatingEmbeddedCacheManager. getCache(String cacheName, String configurationName)
<K,V>
Cache<K,V>AbstractDelegatingEmbeddedCacheManager. getCache(String cacheName, String configurationTemplate, boolean createIfAbsent)
-
Uses of Cache in org.infinispan.multimap.impl
Methods in org.infinispan.multimap.impl that return Cache Modifier and Type Method Description Cache<K,Collection<V>>
EmbeddedMultimapCache. getCache()
Constructors in org.infinispan.multimap.impl with parameters of type Cache Constructor Description EmbeddedMultimapCache(Cache<K,Collection<V>> cache)
-
Uses of Cache in org.infinispan.notifications.cachelistener.cluster
Methods in org.infinispan.notifications.cachelistener.cluster that return Cache Modifier and Type Method Description Cache<K,V>
ClusterEvent. getCache()
Methods in org.infinispan.notifications.cachelistener.cluster with parameters of type Cache Modifier and Type Method Description void
ClusterEventCallable. setEnvironment(Cache<K,V> cache, Set<K> inputKeys)
void
ClusterListenerRemoveCallable. setEnvironment(Cache<K,V> cache, Set<K> inputKeys)
void
ClusterListenerReplicateCallable. setEnvironment(Cache<K,V> cache, Set<K> inputKeys)
void
MultiClusterEventCallable. setEnvironment(Cache<K,V> cache, Set<K> inputKeys)
-
Uses of Cache in org.infinispan.notifications.cachelistener.event
Methods in org.infinispan.notifications.cachelistener.event that return Cache Modifier and Type Method Description Cache<K,V>
Event. getCache()
-
Uses of Cache in org.infinispan.notifications.cachelistener.event.impl
Methods in org.infinispan.notifications.cachelistener.event.impl that return Cache Modifier and Type Method Description Cache<K,V>
EventImpl. getCache()
Methods in org.infinispan.notifications.cachelistener.event.impl with parameters of type Cache Modifier and Type Method Description static <K,V>
EventImpl<K,V>EventImpl. createEvent(Cache<K,V> cache, Event.Type type)
-
Uses of Cache in org.infinispan.persistence
Methods in org.infinispan.persistence that return Cache Modifier and Type Method Description Cache
InitializationContextImpl. getCache()
Constructors in org.infinispan.persistence with parameters of type Cache Constructor Description InitializationContextImpl(StoreConfiguration configuration, Cache cache, KeyPartitioner keyPartitioner, org.infinispan.commons.marshall.StreamingMarshaller marshaller, org.infinispan.commons.time.TimeService timeService, org.infinispan.commons.io.ByteBufferFactory byteBufferFactory, MarshalledEntryFactory mef, ExecutorService executorService)
-
Uses of Cache in org.infinispan.persistence.remote.upgrade
Methods in org.infinispan.persistence.remote.upgrade with parameters of type Cache Modifier and Type Method Description void
HotRodTargetMigrator. disconnectSource(Cache<Object,Object> cache)
void
MigrationTask. setEnvironment(Cache<Object,Object> cache, Set<Object> inputKeys)
long
HotRodTargetMigrator. synchronizeData(Cache<Object,Object> cache)
long
HotRodTargetMigrator. synchronizeData(Cache<Object,Object> cache, int readBatch, int threads)
-
Uses of Cache in org.infinispan.persistence.rest.upgrade
Methods in org.infinispan.persistence.rest.upgrade with parameters of type Cache Modifier and Type Method Description void
RestTargetMigrator. disconnectSource(Cache<Object,Object> cache)
Deprecated.long
RestTargetMigrator. synchronizeData(Cache<Object,Object> cache)
Deprecated.long
RestTargetMigrator. synchronizeData(Cache<Object,Object> cache, int readBatch, int threads)
Deprecated. -
Uses of Cache in org.infinispan.persistence.spi
Methods in org.infinispan.persistence.spi that return Cache Modifier and Type Method Description Cache
InitializationContext. getCache()
-
Uses of Cache in org.infinispan.persistence.support
Methods in org.infinispan.persistence.support with parameters of type Cache Modifier and Type Method Description protected void
SingletonCacheWriter. pushState(Cache<?,?> cache)
Deprecated.Pushes the state of a specific cache by reading the cache's data and putting in the cache store. -
Uses of Cache in org.infinispan.query
Methods in org.infinispan.query with parameters of type Cache Modifier and Type Method Description static <K,V>
ContinuousQuery<K,V>Search. getContinuousQuery(Cache<K,V> cache)
Obtain theContinuousQuery
object for a cache.static QueryFactory
Search. getQueryFactory(Cache<?,?> cache)
Obtain the query factory for building DSL based Ickle queries.static SearchManager
Search. getSearchManager(Cache<?,?> cache)
Obtain theSearchManager
object for a cache. -
Uses of Cache in org.infinispan.query.affinity
Methods in org.infinispan.query.affinity with parameters of type Cache Modifier and Type Method Description void
ShardAllocationManagerImpl. inject(Cache<?,?> cache, DistributionManager distributionManager)
-
Uses of Cache in org.infinispan.query.continuous.impl
Methods in org.infinispan.query.continuous.impl with parameters of type Cache Modifier and Type Method Description protected void
IckleContinuousQueryCacheEventFilterConverter. injectDependencies(Cache cache)
Acquires a Matcher instance from the ComponentRegistry of the given Cache object.Constructors in org.infinispan.query.continuous.impl with parameters of type Cache Constructor Description ContinuousQueryImpl(Cache<K,V> cache)
-
Uses of Cache in org.infinispan.query.impl
Methods in org.infinispan.query.impl with parameters of type Cache Modifier and Type Method Description void
DefaultSearchMappingProvider. defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)
static EmbeddedQueryEngine
ComponentRegistryUtils. getEmbeddedQueryEngine(Cache<?,?> cache)
static KeyTransformationHandler
ComponentRegistryUtils. getKeyTransformationHandler(Cache<?,?> cache)
static QueryCache
ComponentRegistryUtils. getQueryCache(Cache<?,?> cache)
Returns the optional QueryCache.static QueryInterceptor
ComponentRegistryUtils. getQueryInterceptor(Cache<?,?> cache)
static org.hibernate.search.spi.SearchIntegrator
ComponentRegistryUtils. getSearchIntegrator(Cache<?,?> cache)
static org.infinispan.commons.time.TimeService
ComponentRegistryUtils. getTimeService(Cache<?,?> cache)
-
Uses of Cache in org.infinispan.query.remote.impl
Methods in org.infinispan.query.remote.impl with parameters of type Cache Modifier and Type Method Description void
ProgrammaticSearchMappingProviderImpl. defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)
-
Uses of Cache in org.infinispan.query.spi
Methods in org.infinispan.query.spi with parameters of type Cache Modifier and Type Method Description void
ProgrammaticSearchMappingProvider. defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)
Supply some custom programmatic mappings to Hibernate Search. -
Uses of Cache in org.infinispan.remoting
Methods in org.infinispan.remoting with parameters of type Cache Modifier and Type Method Description static LocalInvocation
LocalInvocation. newInstanceFromCache(Cache<?,?> cache, org.infinispan.commands.remote.CacheRpcCommand command)
-
Uses of Cache in org.infinispan.security
Subinterfaces of Cache in org.infinispan.security Modifier and Type Interface Description interface
SecureCache<K,V>
SecureCache.Methods in org.infinispan.security that return Cache Modifier and Type Method Description Cache<?,?>
GlobalSecurityManager. globalACLCache()
Returns the global ACL cache -
Uses of Cache in org.infinispan.security.actions
Methods in org.infinispan.security.actions that return Cache Modifier and Type Method Description Cache<?,?>
GetCacheAction. run()
Constructors in org.infinispan.security.actions with parameters of type Cache Constructor Description GetClusterExecutorAction(Cache<?,?> cache)
GetDefaultExecutorServiceAction(Cache<?,?> cache)
-
Uses of Cache in org.infinispan.security.impl
Classes in org.infinispan.security.impl that implement Cache Modifier and Type Class Description class
SecureCacheImpl<K,V>
SecureCacheImpl.Methods in org.infinispan.security.impl that return Cache Modifier and Type Method Description Cache<?,?>
GlobalSecurityManagerImpl. globalACLCache()
-
Uses of Cache in org.infinispan.server.hotrod
Methods in org.infinispan.server.hotrod that return Cache Modifier and Type Method Description Cache<Address,ServerAddress>
HotRodServer. getAddressCache()
-
Uses of Cache in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration with parameters of type Cache Modifier and Type Method Description void
IterationFilter. injectDependencies(Cache cache, EncoderRegistry encoderRegistry)
IterationState
DefaultIterationManager. start(Cache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, org.infinispan.commons.dataconversion.MediaType requestValueType, int batch, boolean metadata)
IterationState
IterationManager. start(Cache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, org.infinispan.commons.dataconversion.MediaType valueMediaType, int batch, boolean metadata)
-
Uses of Cache in org.infinispan.server.hotrod.tx.table
Constructors in org.infinispan.server.hotrod.tx.table with parameters of type Cache Constructor Description GlobalTxTable(Cache<CacheXid,TxState> storage, GlobalComponentRegistry gcr)
-
Uses of Cache in org.infinispan.spring
Methods in org.infinispan.spring that return Cache Modifier and Type Method Description Cache<K,V>
InfinispanDefaultCacheFactoryBean. getObject()
Methods in org.infinispan.spring that return types with arguments of type Cache Modifier and Type Method Description Class<? extends Cache>
InfinispanDefaultCacheFactoryBean. getObjectType()
-
Uses of Cache in org.infinispan.spring.support.embedded
Methods in org.infinispan.spring.support.embedded that return Cache Modifier and Type Method Description Cache<K,V>
InfinispanNamedEmbeddedCacheFactoryBean. getObject()
Methods in org.infinispan.spring.support.embedded that return types with arguments of type Cache Modifier and Type Method Description Class<? extends Cache>
InfinispanNamedEmbeddedCacheFactoryBean. getObjectType()
-
Uses of Cache in org.infinispan.statetransfer
Fields in org.infinispan.statetransfer with type parameters of type Cache Modifier and Type Field Description protected ComponentRef<Cache>
StateConsumerImpl. cache
-
Uses of Cache in org.infinispan.stats.impl
Methods in org.infinispan.stats.impl with parameters of type Cache Modifier and Type Method Description void
ClusterCacheStatsImpl. injectDependencies(Cache<?,?> cache, Configuration configuration)
-
Uses of Cache in org.infinispan.stats.topK
Methods in org.infinispan.stats.topK with parameters of type Cache Modifier and Type Method Description static StreamSummaryContainer
StreamSummaryContainer. getOrCreateStreamLibContainer(Cache cache)
-
Uses of Cache in org.infinispan.stream
Methods in org.infinispan.stream with parameters of type Cache Modifier and Type Method Description void
CacheAware. injectCache(Cache<K,V> cache)
Method that is invoked when a cache is to be injected. -
Uses of Cache in org.infinispan.stream.impl
Fields in org.infinispan.stream.impl declared as Cache Modifier and Type Field Description protected Cache<?,?>
PartitionAwareClusterStreamManager. cache
Methods in org.infinispan.stream.impl with parameters of type Cache Modifier and Type Method Description void
LocalStreamManagerImpl. inject(Cache<K,V> cache)
Injects the cache - unfortunately this cannot be in start.Method parameters in org.infinispan.stream.impl with type arguments of type Cache Modifier and Type Method Description <K,V>
voidDistributedCacheStream. forEach(BiConsumer<Cache<K,V>,? super R> action)
<K,V>
voidDistributedDoubleCacheStream. forEach(ObjDoubleConsumer<Cache<K,V>> action)
<K,V>
voidDistributedDoubleCacheStream. forEach(SerializableObjDoubleConsumer<Cache<K,V>> action)
<K,V>
voidDistributedIntCacheStream. forEach(ObjIntConsumer<Cache<K,V>> action)
<K,V>
voidDistributedIntCacheStream. forEach(SerializableObjIntConsumer<Cache<K,V>> action)
<K,V>
voidDistributedLongCacheStream. forEach(ObjLongConsumer<Cache<K,V>> action)
<K,V>
voidDistributedLongCacheStream. forEach(SerializableObjLongConsumer<Cache<K,V>> action)
<K,V>
voidIntermediateCacheStream. forEach(BiConsumer<Cache<K,V>,? super R> action)
<K,V>
voidIntermediateDoubleCacheStream. forEach(ObjDoubleConsumer<Cache<K,V>> action)
<K,V>
voidIntermediateIntCacheStream. forEach(ObjIntConsumer<Cache<K,V>> action)
<K,V>
voidIntermediateLongCacheStream. forEach(ObjLongConsumer<Cache<K,V>> action)
void
LockedStreamImpl. forEach(BiConsumer<Cache<K,V>,? super CacheEntry<K,V>> biConsumer)
void
TxLockedStreamImpl. forEach(BiConsumer<Cache<K,V>,? super CacheEntry<K,V>> biConsumer)
<R> Map<K,R>
LockedStreamImpl. invokeAll(BiFunction<Cache<K,V>,? super CacheEntry<K,V>,R> biFunction)
<R> Map<K,R>
TxLockedStreamImpl. invokeAll(BiFunction<Cache<K,V>,? super CacheEntry<K,V>,R> biFunction)
Constructors in org.infinispan.stream.impl with parameters of type Cache Constructor Description RemovableCloseableIterator(org.infinispan.commons.util.CloseableIterator<C> realIterator, Cache<K,?> cache, Function<? super C,K> removeFunction)
Deprecated.RemovableIterator(Iterator<C> realIterator, Cache<K,?> cache, Function<? super C,K> removeFunction)
Deprecated. -
Uses of Cache in org.infinispan.tasks
Methods in org.infinispan.tasks that return types with arguments of type Cache Modifier and Type Method Description Optional<Cache<?,?>>
TaskContext. getCache()
The default cache.Methods in org.infinispan.tasks with parameters of type Cache Modifier and Type Method Description TaskContext
TaskContext. cache(Cache<?,?> cache)
The cache against which this task will be executed. -
Uses of Cache in org.infinispan.tree
Methods in org.infinispan.tree that return Cache Modifier and Type Method Description Cache<?,?>
TreeCache. getCache()
Methods in org.infinispan.tree with parameters of type Cache Modifier and Type Method Description <K,V>
TreeCache<K,V>TreeCacheFactory. createTreeCache(Cache<K,V> cache)
Creates a TreeCache instance by taking in aCache
as a parameter -
Uses of Cache in org.infinispan.tree.impl
Methods in org.infinispan.tree.impl that return Cache Modifier and Type Method Description Cache<?,?>
TreeCacheImpl. getCache()
Constructors in org.infinispan.tree.impl with parameters of type Cache Constructor Description TreeCacheImpl(Cache<?,?> cache)
-
Uses of Cache in org.infinispan.upgrade
Methods in org.infinispan.upgrade with parameters of type Cache Modifier and Type Method Description void
TargetMigrator. disconnectSource(Cache<Object,Object> cache)
Disconnects the target from the source.long
TargetMigrator. synchronizeData(Cache<Object,Object> cache)
Performs the synchronization of data between source and targetlong
TargetMigrator. synchronizeData(Cache<Object,Object> cache, int readBatch, int threads)
Performs the synchronization of data between source and target -
Uses of Cache in org.infinispan.util
Method parameters in org.infinispan.util with type arguments of type Cache Modifier and Type Method Description <K,V>
voidAbstractDelegatingCacheStream. forEach(BiConsumer<Cache<K,V>,? super R> action)
Constructors in org.infinispan.util with parameters of type Cache Constructor Description DataContainerRemoveIterator(Cache<K,V> cache)
DataContainerRemoveIterator(Cache<K,V> cache, DataContainer<K,V> dataContainer)
EntryWrapper(Cache<K,V> cache, CacheEntry<K,V> entry)
Creates a new entry wrapper given the cache and entry. -
Uses of Cache in org.infinispan.xsite
Fields in org.infinispan.xsite declared as Cache Modifier and Type Field Description protected Cache<K,V>
AbstractCustomFailurePolicy. cache
Methods in org.infinispan.xsite that return Cache Modifier and Type Method Description Cache
BackupReceiver. getCache()
Cache
BaseBackupReceiver. getCache()
Methods in org.infinispan.xsite with parameters of type Cache Modifier and Type Method Description void
AbstractCustomFailurePolicy. init(Cache cache)
void
CustomFailurePolicy. init(Cache<K,V> cache)
Invoked during the initialization phase.
-