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 theKeyAffinityServiceinterfaces which allow user code to determine mapping of keys onto nodesorg.infinispan.affinity.impl org.infinispan.cache.impl org.infinispan.commands.read org.infinispan.configuration.cache Cacheconfigurationorg.infinispan.factories Factories are internal components used to create other components based on a cache's configuration.org.infinispan.globalstate.impl org.infinispan.interceptors Infinispan is designed around a set of interceptors around a data container.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.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.spi The Persistence SPI.org.infinispan.reactive.publisher.impl org.infinispan.remoting Remote communication between cache instances.org.infinispan.security Security API.org.infinispan.security.actions org.infinispan.security.impl org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.stats.impl org.infinispan.stream Cache stream processing.org.infinispan.stream.impl org.infinispan.stream.impl.interceptor org.infinispan.stream.impl.local 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.util.logging.events org.infinispan.xsite -
-
Uses of Cache in org.infinispan
Subinterfaces of Cache in org.infinispan Modifier and Type Interface Description interfaceAdvancedCache<K,V>An advanced interface that exposes additional methods not available onCache.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 aBiConsumerthat provides access to the underlyingCachethat 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 anObjDoubleConsumerthat provides access to the underlyingCachethat is backing this stream.default <K,V>
voidDoubleCacheStream. forEach(SerializableObjDoubleConsumer<Cache<K,V>> action)Same asDoubleCacheStream.forEach(ObjDoubleConsumer)except that theBiConsumermust also implementSerializable<K,V>
voidIntCacheStream. 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>
voidIntCacheStream. 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>
voidLongCacheStream. 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>
voidLongCacheStream. forEach(SerializableObjLongConsumer<Cache<K,V>> action)Same asLongCacheStream.forEach(ObjLongConsumer)except that theBiConsumermust 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 -
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 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 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.cache.impl
Classes in org.infinispan.cache.impl that implement Cache Modifier and Type Class Description classAbstractDelegatingAdvancedCache<K,V>Similar toAbstractDelegatingCache, but forAdvancedCache.classAbstractDelegatingCache<K,V>This 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>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 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.read
Fields in org.infinispan.commands.read declared as Cache Modifier and Type Field Description protected Cache<K,V>AbstractCloseableIteratorCollection. cacheConstructors in org.infinispan.commands.read with parameters of type Cache Constructor Description AbstractCloseableIteratorCollection(Cache<K,V> cache) -
Uses of Cache in org.infinispan.configuration.cache
Methods in org.infinispan.configuration.cache with parameters of type Cache Modifier and Type Method Description voidCustomFailurePolicy. init(Cache<K,V> cache)Invoked during the initialization phase. -
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.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.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. dataDeprecated.protected Cache<String,GridFile.Metadata>GridFilesystem. metadataDeprecated.Constructors in org.infinispan.io with parameters of type Cache Constructor Description GridFilesystem(Cache<String,byte[]> data, Cache<String,GridFile.Metadata> metadata)Deprecated.GridFilesystem(Cache<String,byte[]> data, Cache<String,GridFile.Metadata> metadata, int defaultChunkSize)Deprecated.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()<K,V>
Cache<K,V>CacheContainer. getCache(String cacheName)<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>EmbeddedCacheManager. getCache()Retrieves the default cache associated with this cache container.<K,V>
Cache<K,V>EmbeddedCacheManager. getCache(String cacheName)Retrieves a cache by name.<K,V>
Cache<K,V>EmbeddedCacheManager. getCache(String cacheName, boolean createIfAbsent)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 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) -
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 voidClusterListenerReplicateCallable. 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 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 CacheInitializationContextImpl. getCache()Constructors in org.infinispan.persistence with parameters of type Cache Constructor Description InitializationContextImpl(StoreConfiguration configuration, Cache cache, KeyPartitioner keyPartitioner, PersistenceMarshaller marshaller, org.infinispan.commons.time.TimeService timeService, org.infinispan.commons.io.ByteBufferFactory byteBufferFactory, MarshallableEntryFactory marshallableEntryFactory, Executor nonBlockingExecutor, GlobalConfiguration globalConfiguration, BlockingManager blockingManager) -
Uses of Cache in org.infinispan.persistence.spi
Methods in org.infinispan.persistence.spi that return Cache Modifier and Type Method Description CacheInitializationContext. getCache() -
Uses of Cache in org.infinispan.reactive.publisher.impl
Fields in org.infinispan.reactive.publisher.impl with type parameters of type Cache Modifier and Type Field Description protected ComponentRef<Cache<?,?>>PartitionAwareClusterPublisherManager. cache -
Uses of Cache in org.infinispan.remoting
Methods in org.infinispan.remoting with parameters of type Cache Modifier and Type Method Description static LocalInvocationLocalInvocation. newInstanceFromCache(Cache<?,?> cache, CacheRpcCommand command) -
Uses of Cache in org.infinispan.security
Subinterfaces of Cache in org.infinispan.security Modifier and Type Interface Description interfaceSecureCache<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) -
Uses of Cache in org.infinispan.security.impl
Classes in org.infinispan.security.impl that implement Cache Modifier and Type Class Description classSecureCacheImpl<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.statetransfer
Fields in org.infinispan.statetransfer with type parameters of type Cache Modifier and Type Field Description protected ComponentRef<Cache<Object,Object>>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 voidClusterCacheStatsImpl. injectDependencies(Cache<?,?> cache, Configuration configuration) -
Uses of Cache in org.infinispan.stream
Methods in org.infinispan.stream with parameters of type Cache Modifier and Type Method Description voidCacheAware. 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 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)voidLockedStreamImpl. forEach(BiConsumer<Cache<K,V>,? super CacheEntry<K,V>> biConsumer)voidTxLockedStreamImpl. 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.stream.impl.interceptor
Constructors in org.infinispan.stream.impl.interceptor with parameters of type Cache Constructor Description AbstractDelegatingEntryCacheSet(Cache<K,V> cache, CacheSet<CacheEntry<K,V>> set)AbstractDelegatingKeyCacheSet(Cache<K,V> cache, CacheSet<K> set) -
Uses of Cache in org.infinispan.stream.impl.local
Method parameters in org.infinispan.stream.impl.local with type arguments of type Cache Modifier and Type Method Description <K,V>
voidLocalCacheStream. forEach(BiConsumer<Cache<K,V>,? super R> action)<K,V>
voidLocalDoubleCacheStream. forEach(ObjDoubleConsumer<Cache<K,V>> action)<K,V>
voidLocalIntCacheStream. forEach(ObjIntConsumer<Cache<K,V>> action)<K,V>
voidLocalLongCacheStream. forEach(ObjLongConsumer<Cache<K,V>> action) -
Uses of Cache in org.infinispan.upgrade
Methods in org.infinispan.upgrade with parameters of type Cache Modifier and Type Method Description voidTargetMigrator. disconnectSource(Cache<Object,Object> cache)Disconnects the target from the source.longTargetMigrator. 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 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.util.logging.events
Methods in org.infinispan.util.logging.events with parameters of type Cache Modifier and Type Method Description default EventLoggerEventLogger. context(Cache<?,?> cache)Sets a cache as context of this event log. -
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. cacheMethods in org.infinispan.xsite with parameters of type Cache Modifier and Type Method Description voidAbstractCustomFailurePolicy. init(Cache<K,V> cache)
-