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.interceptor |
AOP-based solution for declarative caching demarcation.
|
org.springframework.cache.support |
Support classes for the the org.springframework.cache package.
|
Modifier and Type | Method and Description |
---|---|
Cache |
CacheManager.getCache(java.lang.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(java.lang.String name)
Create a new ConcurrentMapCache instance for the specified cache name.
|
Cache |
ConcurrentMapCacheManager.getCache(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Cache> |
CacheAspectSupport.CacheOperationContext.getCaches() |
protected java.util.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 |
NoOpCacheManager.getCache(java.lang.String name)
This implementation always returns a
Cache implementation that will not store items. |
Cache |
AbstractCacheManager.getCache(java.lang.String name) |
Cache |
CompositeCacheManager.getCache(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Collection<? extends Cache> |
AbstractCacheManager.loadCaches()
Load the initial caches for this cache manager.
|
protected java.util.Collection<? extends Cache> |
SimpleCacheManager.loadCaches() |
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(java.util.Collection<? extends Cache> caches)
Specify the collection of Cache instances to use for this CacheManager.
|
Copyright © 2021. All rights reserved.