Package | Description |
---|---|
org.springframework.cache.annotation |
Annotations and supporting classes for declarative cache management.
|
org.springframework.cache.concurrent |
Implementation package for
java.util.concurrent based caches. |
org.springframework.cache.ehcache |
Support classes for the open source cache
EhCache,
allowing to set up an EhCache CacheManager and Caches
as beans in a Spring context.
|
org.springframework.cache.interceptor |
AOP-based solution for declarative caching demarcation.
|
org.springframework.cache.support |
Support classes for the the org.springframework.cache package.
|
org.springframework.cache.transaction |
Transaction-aware decorators for the the org.springframework.cache package.
|
Modifier and Type | Field and Description |
---|---|
protected CacheManager |
AbstractCachingConfiguration.cacheManager |
Modifier and Type | Method and Description |
---|---|
CacheManager |
CachingConfigurer.cacheManager()
Return the cache manager bean to use for annotation-driven cache management.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentMapCacheManager
CacheManager implementation that lazily builds ConcurrentMapCache
instances for each ConcurrentMapCacheManager.getCache(java.lang.String) request. |
Modifier and Type | Class and Description |
---|---|
class |
EhCacheCacheManager
CacheManager backed by an EhCache
CacheManager . |
Modifier and Type | Method and Description |
---|---|
CacheManager |
CacheAspectSupport.getCacheManager()
Return the CacheManager that this cache aspect delegates to.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheAspectSupport.setCacheManager(CacheManager cacheManager)
Set the CacheManager that this cache aspect should delegate to.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheManager
Abstract base class implementing the common
CacheManager methods. |
class |
CompositeCacheManager
Composite
CacheManager implementation that iterates over
a given collection of delegate CacheManager instances. |
class |
NoOpCacheManager
A basic, no operation
CacheManager implementation suitable
for disabling caching, typically used for backing cache declarations
without an actual backing store. |
class |
SimpleCacheManager
Simple cache manager working against a given collection of caches.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeCacheManager.setCacheManagers(Collection<CacheManager> cacheManagers)
Specify the CacheManagers to delegate to.
|
Constructor and Description |
---|
CompositeCacheManager(CacheManager... cacheManagers)
Construct a CompositeCacheManager from the given delegate CacheManagers.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransactionSupportingCacheManager
Base class for CacheManager implementations that want to support built-in
awareness of Spring-managed transactions.
|
class |
TransactionAwareCacheManagerProxy
Proxy for a target
CacheManager , exposing transaction-aware Cache objects
which synchronize their Cache.put(java.lang.Object, java.lang.Object) operations with Spring-managed transactions
(through Spring's TransactionSynchronizationManager ,
performing the actual cache put operation only in the after-commit phase of a successful transaction. |
Modifier and Type | Method and Description |
---|---|
void |
TransactionAwareCacheManagerProxy.setTargetCacheManager(CacheManager targetCacheManager)
Set the target CacheManager to proxy.
|
Constructor and Description |
---|
TransactionAwareCacheManagerProxy(CacheManager targetCacheManager)
Create a new TransactionAwareCacheManagerProxy for the given target CacheManager.
|
Copyright © 2015. All rights reserved.