When using this implementation directly, i.e. not via a regular
bean registration, initializeCaches() should be invoked
to initialize its internal state once the
caches have been provided.
NoOpCache, org.springframework.cache.concurrent.ConcurrentMapCache
| Modifier and Type | Field and Description |
|---|---|
| private Collection |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Collection | loadCaches()
Implements abstract org. |
| public void | setCaches(Collection<? extends Cache> caches)
Specify the collection of Cache instances to use for this CacheManager. |
| caches | back to summary |
|---|---|
| private Collection<? extends Cache> caches | |
| SimpleCacheManager | back to summary |
|---|---|
| public SimpleCacheManager() | |
| loadCaches | back to summary |
|---|---|
| protected Collection Implements abstract org. Doc from org. Load the initial caches for this cache manager. Called by
| |
| setCaches | back to summary |
|---|---|
| public void setCaches(Collection<? extends Cache> caches) Specify the collection of Cache instances to use for this CacheManager.
| |