Package | Description |
---|---|
org.springframework.cache |
Spring's generic cache abstraction.
|
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 | Method and Description |
---|---|
Cache |
CacheManager.getCache(String name)
Return the cache associated with the given name.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentMapCache
Simple
Cache implementation based on the
core JDK java.util.concurrent package. |
Modifier and Type | Method and Description |
---|---|
protected Cache |
ConcurrentMapCacheManager.createConcurrentMapCache(String name)
Create a new ConcurrentMapCache instance for the specified cache name.
|
Cache |
ConcurrentMapCacheManager.getCache(String name) |
Modifier and Type | Class and Description |
---|---|
class |
EhCacheCache
Cache implementation on top of an Ehcache instance. |
Modifier and Type | Method and Description |
---|---|
Cache |
EhCacheCacheManager.getCache(String name) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Cache> |
EhCacheCacheManager.loadCaches() |
Modifier and Type | Method and Description |
---|---|
protected Collection<Cache> |
CacheAspectSupport.CacheOperationContext.getCaches() |
protected Collection<Cache> |
CacheAspectSupport.getCaches(CacheOperation operation) |
Modifier and Type | Method and Description |
---|---|
protected Cache |
AbstractCacheManager.decorateCache(Cache cache)
Decorate the given Cache object if necessary.
|
Cache |
AbstractCacheManager.getCache(String name) |
Cache |
NoOpCacheManager.getCache(String name)
This implementation always returns a
Cache implementation that will not store items. |
Cache |
CompositeCacheManager.getCache(String name) |
Modifier and Type | Method and Description |
---|---|
protected Collection<? extends Cache> |
SimpleCacheManager.loadCaches() |
protected abstract Collection<? extends Cache> |
AbstractCacheManager.loadCaches()
Load the initial caches for this cache manager.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCacheManager.addCache(Cache cache) |
protected Cache |
AbstractCacheManager.decorateCache(Cache cache)
Decorate the given Cache object if necessary.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleCacheManager.setCaches(Collection<? extends Cache> caches)
Specify the collection of Cache instances to use for this CacheManager.
|
Modifier and Type | Class and Description |
---|---|
class |
TransactionAwareCacheDecorator
Cache decorator which synchronizes its
TransactionAwareCacheDecorator.put(java.lang.Object, java.lang.Object) and TransactionAwareCacheDecorator.evict(java.lang.Object) operations with
Spring-managed transactions (through Spring's TransactionSynchronizationManager ,
performing the actual cache put/evict operation only in the after-commit phase of a
successful transaction. |
Modifier and Type | Method and Description |
---|---|
protected Cache |
AbstractTransactionSupportingCacheManager.decorateCache(Cache cache) |
Cache |
TransactionAwareCacheManagerProxy.getCache(String name) |
Modifier and Type | Method and Description |
---|---|
protected Cache |
AbstractTransactionSupportingCacheManager.decorateCache(Cache cache) |
Constructor and Description |
---|
TransactionAwareCacheDecorator(Cache targetCache)
Create a new TransactionAwareCache for the given target Cache.
|
Copyright © 2015. All rights reserved.