Uses of Interface
org.infinispan.Cache
Packages that use Cache
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
This package contains the
KeyAffinityService interfaces which allow user code to determine mapping of keys onto nodesCache configurationFactories are internal components used to create other components based on a cache's
configuration.
Functional API package
Global configuration state.
Infinispan is designed around a set of interceptors around a data container.
Provides Infinispan-specific input and output streams, buffers and related utilities.
Cache manager API.
Cache-specific listener eventsPersistence API.
The Persistence SPI.
Query API that lets you perform Ickle queries and look up values in caches.
Query module internals.
Remote communication between cache instances.
Security API.
Cache stream processing.
Server tasks API.
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.
-
Uses of Cache in org.infinispan
Subinterfaces of Cache in org.infinispanModifier and TypeInterfaceDescriptioninterfaceAdvancedCache<K,V> An advanced interface that exposes additional methods not available onCache.Method parameters in org.infinispan with type arguments of type CacheModifier and TypeMethodDescription<K,V> void CacheStream.forEach(BiConsumer<Cache<K, V>, ? super R> action) Same asCacheStream.forEach(Consumer)except that it takes aBiConsumerthat provides access to the underlyingCachethat is backing this stream.default <K,V> void CacheStream.forEach(SerializableBiConsumer<Cache<K, V>, ? super R> action) <K,V> void DoubleCacheStream.forEach(ObjDoubleConsumer<Cache<K, V>> action) Same asDoubleStream.forEach(DoubleConsumer)except that it takes anObjDoubleConsumerthat provides access to the underlyingCachethat is backing this stream.default <K,V> void DoubleCacheStream.forEach(SerializableObjDoubleConsumer<Cache<K, V>> action) Same asDoubleCacheStream.forEach(ObjDoubleConsumer)except that theBiConsumermust also implementSerializable<K,V> void IntCacheStream.forEach(ObjIntConsumer<Cache<K, V>> action) Same asIntStream.forEach(IntConsumer)except that it takes anObjIntConsumerthat provides access to the underlyingCachethat is backing this stream.default <K,V> void IntCacheStream.forEach(SerializableObjIntConsumer<Cache<K, V>> action) Same asIntCacheStream.forEach(ObjIntConsumer)except that theBiConsumermust also implementSerializablevoidLockedStream.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 voidLockedStream.forEach(SerializableBiConsumer<Cache<K, V>, ? super CacheEntry<K, V>> biConsumer) Same asLockedStream.forEach(BiConsumer)except that the BiConsumer must also implementSerializable<K,V> void LongCacheStream.forEach(ObjLongConsumer<Cache<K, V>> action) Same asLongStream.forEach(LongConsumer)except that it takes anObjLongConsumerthat provides access to the underlyingCachethat is backing this stream.default <K,V> void LongCacheStream.forEach(SerializableObjLongConsumer<Cache<K, V>> action) Same asLongCacheStream.forEach(ObjLongConsumer)except that theBiConsumermust also implementSerializableLockedStream.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.LockedStream.invokeAll(SerializableBiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction) Same asLockedStream.invokeAll(BiFunction)except that the BiFunction must also implementSerializable -
Uses of Cache in org.infinispan.affinity
Methods in org.infinispan.affinity with parameters of type CacheModifier and TypeMethodDescriptionstatic <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 anKeyAffinityServiceinstance 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. -
Uses of Cache in org.infinispan.affinity.impl
Constructors in org.infinispan.affinity.impl with parameters of type CacheModifierConstructorDescriptionKeyAffinityServiceImpl(Executor executor, Cache<? extends K, ?> cache, KeyGenerator<? extends K> keyGenerator, int bufferSize, Collection<Address> filter, boolean start) -
Uses of Cache in org.infinispan.cache.impl
Classes in org.infinispan.cache.impl that implement CacheModifier and TypeClassDescriptionclassSimilar toAbstractDelegatingCache, but forAdvancedCache.classThis is a convenient base class for implementing a cache delegate.classCacheImpl<K,V> classDecoratedCache<K,V> A decorator to a cache, which can be built with a specific set ofFlags.classEncoderCache<K,V> classSimpleCacheImpl<K,V> Simple local cache without interceptor stack.classStatsCollectingCache<K,V> Wraps existingAdvancedCacheto collect statisticsFields in org.infinispan.cache.impl declared as CacheMethods in org.infinispan.cache.impl that return CacheModifier and TypeMethodDescriptionAbstractDelegatingCache.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 CacheModifier and TypeMethodDescriptionstatic <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 -
Uses of Cache in org.infinispan.configuration.cache
Methods in org.infinispan.configuration.cache with parameters of type Cache -
Uses of Cache in org.infinispan.extendedstats.topK
Methods in org.infinispan.extendedstats.topK with parameters of type CacheModifier and TypeMethodDescriptionstatic StreamSummaryContainerStreamSummaryContainer.getOrCreateStreamLibContainer(Cache cache) -
Uses of Cache in org.infinispan.factories
Methods in org.infinispan.factories that return CacheModifier and TypeMethodDescriptionInternalCacheFactory.createCache(Configuration configuration, GlobalComponentRegistry globalComponentRegistry, String cacheName) This implementation clones the configuration passed in before using it. -
Uses of Cache in org.infinispan.functional
Methods in org.infinispan.functional that return Cache -
Uses of Cache in org.infinispan.functional.impl
Methods in org.infinispan.functional.impl that return Cache -
Uses of Cache in org.infinispan.globalstate
Methods in org.infinispan.globalstate that return CacheModifier and TypeMethodDescriptionGlobalConfigurationManager.getStateCache()Returns the global state cache -
Uses of Cache in org.infinispan.globalstate.impl
Methods in org.infinispan.globalstate.impl that return Cache -
Uses of Cache in org.infinispan.interceptors
Fields in org.infinispan.interceptors declared as Cache -
Uses of Cache in org.infinispan.io
Fields in org.infinispan.io declared as CacheModifier and TypeFieldDescriptionGridFilesystem.dataDeprecated, for removal: This API element is subject to removal in a future version.protected final Cache<String,GridFile.Metadata> GridFilesystem.metadataDeprecated, for removal: This API element is subject to removal in a future version.Constructors in org.infinispan.io with parameters of type CacheModifierConstructorDescriptionGridFilesystem(Cache<String, byte[]> data, Cache<String, GridFile.Metadata> metadata) Deprecated, for removal: This API element is subject to removal in a future version.GridFilesystem(Cache<String, byte[]> data, Cache<String, GridFile.Metadata> metadata, int defaultChunkSize) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance. -
Uses of Cache in org.infinispan.manager
Methods in org.infinispan.manager that return CacheModifier and TypeMethodDescription<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()<K,V> Cache<K, V> <K,V> Cache<K, V> DefaultCacheManager.getCache()Retrieves the default cache associated with this cache manager.<K,V> Cache<K, V> Retrieves a named cache from the system.<K,V> Cache<K, V> <K,V> Cache<K, V> EmbeddedCacheManager.getCache()Retrieves the default cache associated with this cache container.<K,V> Cache<K, V> Retrieves a cache by name.<K,V> Cache<K, V> Similar toEmbeddedCacheManager.getCache(String), except if has the option to not create the cache if it is not already running.<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. -
Uses of Cache in org.infinispan.manager.impl
Methods in org.infinispan.manager.impl that return CacheModifier and TypeMethodDescription<K,V> Cache<K, V> AbstractDelegatingEmbeddedCacheManager.createCache(String name, Configuration configuration) <K,V> Cache<K, V> AbstractDelegatingEmbeddedCacheManager.getCache()<K,V> Cache<K, V> <K,V> Cache<K, V> -
Uses of Cache in org.infinispan.multimap.impl
Methods in org.infinispan.multimap.impl that return CacheConstructors in org.infinispan.multimap.impl with parameters of type CacheModifierConstructorDescriptionEmbeddedMultimapCache(Cache<K, Bucket<V>> cache, boolean supportsDuplicates) -
Uses of Cache in org.infinispan.notifications.cachelistener.cluster
Methods in org.infinispan.notifications.cachelistener.cluster that return CacheMethods in org.infinispan.notifications.cachelistener.cluster with parameters of type CacheModifier and TypeMethodDescriptionvoidClusterListenerReplicateCallable.accept(EmbeddedCacheManager cacheManager, Cache<K, V> cache) -
Uses of Cache in org.infinispan.notifications.cachelistener.event
Methods in org.infinispan.notifications.cachelistener.event that return Cache -
Uses of Cache in org.infinispan.notifications.cachelistener.event.impl
Methods in org.infinispan.notifications.cachelistener.event.impl that return CacheMethods in org.infinispan.notifications.cachelistener.event.impl with parameters of type CacheModifier and TypeMethodDescriptionstatic <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 CacheConstructors in org.infinispan.persistence with parameters of type CacheModifierConstructorDescriptionInitializationContextImpl(StoreConfiguration configuration, Cache cache, KeyPartitioner keyPartitioner, PersistenceMarshaller marshaller, TimeService timeService, ByteBufferFactory byteBufferFactory, MarshallableEntryFactory marshallableEntryFactory, Executor nonBlockingExecutor, GlobalConfiguration globalConfiguration, BlockingManager blockingManager, NonBlockingManager nonBlockingManager) -
Uses of Cache in org.infinispan.persistence.remote.upgrade
Methods in org.infinispan.persistence.remote.upgrade with parameters of type CacheModifier and TypeMethodDescriptionvoidHotRodTargetMigrator.connectSource(Cache<Object, Object> cache, StoreConfiguration configuration) voidHotRodTargetMigrator.disconnectSource(Cache<Object, Object> cache) booleanHotRodTargetMigrator.isConnected(Cache<Object, Object> cache) longHotRodTargetMigrator.synchronizeData(Cache<Object, Object> cache) longHotRodTargetMigrator.synchronizeData(Cache<Object, Object> cache, int readBatch, int threads) -
Uses of Cache in org.infinispan.persistence.spi
Methods in org.infinispan.persistence.spi that return Cache -
Uses of Cache in org.infinispan.persistence.support
Methods in org.infinispan.persistence.support that return Cache -
Uses of Cache in org.infinispan.query
Methods in org.infinispan.query with parameters of type CacheModifier and TypeMethodDescriptionstatic CompletionStage<org.infinispan.query.core.stats.SearchStatisticsSnapshot>Search.getClusteredSearchStatistics(Cache<?, ?> cache) Returns aggregated search statistics for all nodes in the cluster.static <K,V> ContinuousQuery<K, V> Search.getContinuousQuery(Cache<K, V> cache) Obtains theContinuousQueryobject for the cache.static <K,V> Indexer Search.getIndexer(Cache<K, V> cache) static QueryFactorySearch.getQueryFactory(Cache<?, ?> cache) Obtains a query factory to build DSL-based Ickle queries.static <K,V> org.infinispan.query.core.stats.SearchStatistics Search.getSearchStatistics(Cache<K, V> cache) Returns search statistics for the local node. -
Uses of Cache in org.infinispan.query.impl
Methods in org.infinispan.query.impl with parameters of type CacheModifier and TypeMethodDescriptionstatic org.infinispan.query.dsl.embedded.impl.QueryEngine<Class<?>>ComponentRegistryUtils.getEmbeddedQueryEngine(Cache<?, ?> cache) static KeyPartitionerComponentRegistryUtils.getKeyPartitioner(Cache<?, ?> cache) static org.infinispan.query.backend.KeyTransformationHandlerComponentRegistryUtils.getKeyTransformationHandler(Cache<?, ?> cache) static org.infinispan.query.core.stats.impl.LocalQueryStatisticsComponentRegistryUtils.getLocalQueryStatistics(Cache<?, ?> cache) static org.infinispan.query.core.impl.QueryCacheComponentRegistryUtils.getQueryCache(Cache<?, ?> cache) Returns the optional QueryCache.static org.infinispan.query.backend.QueryInterceptorComponentRegistryUtils.getQueryInterceptor(Cache<?, ?> cache) static SearchMappingComponentRegistryUtils.getSearchMapping(Cache<?, ?> cache) static org.infinispan.query.core.stats.impl.SearchStatsRetrieverComponentRegistryUtils.getSearchStatsRetriever(Cache<?, ?> cache) static TimeServiceComponentRegistryUtils.getTimeService(Cache<?, ?> cache) -
Uses of Cache in org.infinispan.reactive.publisher.impl
Fields in org.infinispan.reactive.publisher.impl with type parameters of type CacheModifier and TypeFieldDescriptionprotected ComponentRef<Cache<?,?>> PartitionAwareClusterPublisherManager.cache -
Uses of Cache in org.infinispan.remoting
Methods in org.infinispan.remoting with parameters of type CacheModifier and TypeMethodDescriptionstatic LocalInvocationLocalInvocation.newInstanceFromCache(Cache<?, ?> cache, org.infinispan.commands.remote.CacheRpcCommand command) -
Uses of Cache in org.infinispan.rest.resources
Fields in org.infinispan.rest.resources declared as CacheModifier and TypeFieldDescriptionprotected final Cache<?,?> CacheResourceV2.BaseCacheListener.cacheConstructors in org.infinispan.rest.resources with parameters of type CacheModifierConstructorDescriptionprotectedBaseCacheListener(Cache<?, ?> cache) StatefulCacheListener(Cache<?, ?> cache) StatelessCacheListener(Cache<?, ?> cache) -
Uses of Cache in org.infinispan.security
Subinterfaces of Cache in org.infinispan.security -
Uses of Cache in org.infinispan.security.actions
Classes in org.infinispan.security.actions with type parameters of type CacheModifier and TypeClassDescriptionclassGetUnwrappedCacheAction<A extends Cache<K,V>, K, V> GetUnwrappedCacheAction.Methods in org.infinispan.security.actions that return CacheModifier and TypeMethodDescriptionCache<?,?> GetCacheAction.run()Cache<?,?> GetOrCreateCacheAction.run()Constructors in org.infinispan.security.actions with parameters of type Cache -
Uses of Cache in org.infinispan.security.impl
Classes in org.infinispan.security.impl that implement Cache -
Uses of Cache in org.infinispan.server.hotrod
Methods in org.infinispan.server.hotrod that return Cache -
Uses of Cache in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration with parameters of type CacheModifier and TypeMethodDescriptionvoidIterationFilter.injectDependencies(Cache cache, EncoderRegistry encoderRegistry) -
Uses of Cache in org.infinispan.server.hotrod.tx.table
Constructors in org.infinispan.server.hotrod.tx.table with parameters of type CacheModifierConstructorDescriptionGlobalTxTable(Cache<CacheXid, TxState> storage, GlobalComponentRegistry gcr) -
Uses of Cache in org.infinispan.server.memcached
Methods in org.infinispan.server.memcached that return Cache -
Uses of Cache in org.infinispan.spring.embedded
Methods in org.infinispan.spring.embedded that return CacheMethods in org.infinispan.spring.embedded that return types with arguments of type Cache -
Uses of Cache in org.infinispan.spring.embedded.support
Methods in org.infinispan.spring.embedded.support that return CacheMethods in org.infinispan.spring.embedded.support that return types with arguments of type Cache -
Uses of Cache in org.infinispan.stream
Methods in org.infinispan.stream with parameters of type CacheModifier and TypeMethodDescriptionvoidCacheAware.injectCache(Cache<K, V> cache) Method that is invoked when a cache is to be injected. -
Uses of Cache in org.infinispan.stream.impl
Method parameters in org.infinispan.stream.impl with type arguments of type CacheModifier and TypeMethodDescription<K,V> void DistributedCacheStream.forEach(BiConsumer<Cache<K, V>, ? super R> action) <K,V> void DistributedDoubleCacheStream.forEach(ObjDoubleConsumer<Cache<K, V>> action) <K,V> void DistributedDoubleCacheStream.forEach(SerializableObjDoubleConsumer<Cache<K, V>> action) <K,V> void DistributedIntCacheStream.forEach(ObjIntConsumer<Cache<K, V>> action) <K,V> void DistributedIntCacheStream.forEach(SerializableObjIntConsumer<Cache<K, V>> action) <K,V> void DistributedLongCacheStream.forEach(ObjLongConsumer<Cache<K, V>> action) <K,V> void DistributedLongCacheStream.forEach(SerializableObjLongConsumer<Cache<K, V>> action) <K,V> void IntermediateCacheStream.forEach(BiConsumer<Cache<K, V>, ? super R> action) <K,V> void IntermediateDoubleCacheStream.forEach(ObjDoubleConsumer<Cache<K, V>> action) <K,V> void IntermediateIntCacheStream.forEach(ObjIntConsumer<Cache<K, V>> action) <K,V> void IntermediateLongCacheStream.forEach(ObjLongConsumer<Cache<K, V>> action) voidLockedStreamImpl.forEach(BiConsumer<Cache<K, V>, ? super CacheEntry<K, V>> biConsumer) voidTxLockedStreamImpl.forEach(BiConsumer<Cache<K, V>, ? super CacheEntry<K, V>> biConsumer) LockedStreamImpl.invokeAll(BiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction) TxLockedStreamImpl.invokeAll(BiFunction<Cache<K, V>, ? super CacheEntry<K, V>, R> biFunction) Constructors in org.infinispan.stream.impl with parameters of type Cache -
Uses of Cache in org.infinispan.tasks
Methods in org.infinispan.tasks that return types with arguments of type CacheMethods in org.infinispan.tasks with parameters of type CacheModifier and TypeMethodDescriptionThe cache against which this task will be executed. -
Uses of Cache in org.infinispan.upgrade
Methods in org.infinispan.upgrade with parameters of type CacheModifier and TypeMethodDescriptionvoidTargetMigrator.connectSource(Cache<Object, Object> cache, StoreConfiguration configuration) Connects the target cluster to the source cluster through a Remote Store.voidTargetMigrator.disconnectSource(Cache<Object, Object> cache) Disconnects the target from the source.booleanTargetMigrator.isConnected(Cache<Object, Object> cache) Check if a cluster is connected to other for doing rolling upgradeslongTargetMigrator.synchronizeData(Cache<Object, Object> cache) Performs the synchronization of data between source and targetlongTargetMigrator.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 CacheModifier and TypeMethodDescription<K,V> void AbstractDelegatingCacheStream.forEach(BiConsumer<Cache<K, V>, ? super R> action) Constructors in org.infinispan.util with parameters of type CacheModifierConstructorDescriptionDataContainerRemoveIterator(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.