Uses of Interface
org.springframework.cache.CacheManager
Package
Description
Annotations and supporting classes for declarative cache management.
Support classes for the open source cache in
Caffeine library,
allowing to set up Caffeine caches within Spring's cache abstraction.
Implementation package for
java.util.concurrent
based caches.AOP-based solution for declarative caching demarcation.
Implementation package for JSR-107 (javax.cache aka "JCache") based caches.
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
Support classes for the org.springframework.cache package.
Transaction-aware decorators for the org.springframework.cache package.
Support classes for serving static resources.
Support classes for serving static resources.
-
Uses of CacheManager in org.springframework.cache.annotation
Modifier and TypeFieldDescriptionprotected Supplier<CacheManager>
AbstractCachingConfiguration.cacheManager
Modifier and TypeMethodDescriptiondefault CacheManager
CachingConfigurer.cacheManager()
Return the cache manager bean to use for annotation-driven cache management.CachingConfigurerSupport.cacheManager()
Deprecated. -
Uses of CacheManager in org.springframework.cache.caffeine
Modifier and TypeClassDescriptionclass
CacheManager
implementation that lazily buildsCaffeineCache
instances for eachCaffeineCacheManager.getCache(java.lang.String)
request. -
Uses of CacheManager in org.springframework.cache.concurrent
Modifier and TypeClassDescriptionclass
CacheManager
implementation that lazily buildsConcurrentMapCache
instances for eachConcurrentMapCacheManager.getCache(java.lang.String)
request. -
Uses of CacheManager in org.springframework.cache.interceptor
Modifier and TypeMethodDescriptionAbstractCacheResolver.getCacheManager()
Return theCacheManager
that this instance uses.Modifier and TypeMethodDescriptionvoid
AbstractCacheResolver.setCacheManager
(CacheManager cacheManager) Set theCacheManager
that this instance should use.void
CacheAspectSupport.setCacheManager
(CacheManager cacheManager) Set theCacheManager
to use to create a defaultCacheResolver
.void
CacheProxyFactoryBean.setCacheManager
(CacheManager cacheManager) Set theCacheManager
to use to create a defaultCacheResolver
.ModifierConstructorDescriptionprotected
AbstractCacheResolver
(CacheManager cacheManager) Construct a newAbstractCacheResolver
for the givenCacheManager
.NamedCacheResolver
(CacheManager cacheManager, String... cacheNames) SimpleCacheResolver
(CacheManager cacheManager) Construct a newSimpleCacheResolver
for the givenCacheManager
. -
Uses of CacheManager in org.springframework.cache.jcache
Modifier and TypeClassDescriptionclass
CacheManager
implementation backed by a JCachejavax.cache.CacheManager
. -
Uses of CacheManager in org.springframework.cache.jcache.interceptor
Modifier and TypeMethodDescriptionDefaultJCacheOperationSource.getCacheManager()
Return the specified cache manager to use, if any.protected CacheManager
DefaultJCacheOperationSource.getDefaultCacheManager()
Modifier and TypeMethodDescriptionvoid
DefaultJCacheOperationSource.setCacheManager
(CacheManager cacheManager) Set the defaultCacheManager
to use to lookup cache by name.ModifierConstructorDescriptionDefaultJCacheOperationSource
(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSource
with the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable. -
Uses of CacheManager in org.springframework.cache.support
Modifier and TypeClassDescriptionclass
Abstract base class implementing the commonCacheManager
methods.class
CompositeCacheManager
implementation that iterates over a given collection of delegateCacheManager
instances.class
A basic, no operationCacheManager
implementation suitable for disabling caching, typically used for backing cache declarations without an actual backing store.class
Simple cache manager working against a given collection of caches.Modifier and TypeMethodDescriptionvoid
CompositeCacheManager.setCacheManagers
(Collection<CacheManager> cacheManagers) Specify the CacheManagers to delegate to.ModifierConstructorDescriptionCompositeCacheManager
(CacheManager... cacheManagers) Construct a CompositeCacheManager from the given delegate CacheManagers. -
Uses of CacheManager in org.springframework.cache.transaction
Modifier and TypeClassDescriptionclass
Base class for CacheManager implementations that want to support built-in awareness of Spring-managed transactions.class
Proxy for a targetCacheManager
, exposing transaction-awareCache
objects which synchronize theirCache.put(java.lang.Object, java.lang.Object)
operations with Spring-managed transactions (through Spring'sTransactionSynchronizationManager
, performing the actual cache put operation only in the after-commit phase of a successful transaction.Modifier and TypeMethodDescriptionvoid
TransactionAwareCacheManagerProxy.setTargetCacheManager
(CacheManager targetCacheManager) Set the target CacheManager to proxy.ModifierConstructorDescriptionTransactionAwareCacheManagerProxy
(CacheManager targetCacheManager) Create a new TransactionAwareCacheManagerProxy for the given target CacheManager. -
Uses of CacheManager in org.springframework.web.reactive.resource
ModifierConstructorDescriptionCachingResourceResolver
(CacheManager cacheManager, String cacheName) CachingResourceTransformer
(CacheManager cacheManager, String cacheName) -
Uses of CacheManager in org.springframework.web.servlet.resource
ModifierConstructorDescriptionCachingResourceResolver
(CacheManager cacheManager, String cacheName) CachingResourceTransformer
(CacheManager cacheManager, String cacheName)