public class ExpiresCacheManager extends Object implements SpringCacheManager
| 限定符和类型 | 字段和说明 |
|---|---|
private ConcurrentHashMap<String,ExpiresConcurrentMapCache> |
caches
以一个Map来作为缓存容器
|
| 构造器和说明 |
|---|
ExpiresCacheManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCache(SpringCache springCache) |
SpringCache |
getCache(String cacheName) |
ExpiresConcurrentMapCache |
getMissingCache(String name) |
void |
remove(String cacheName) |
void |
remove(String cacheName,
Object key) |
private final ConcurrentHashMap<String,ExpiresConcurrentMapCache> caches
public void addCache(SpringCache springCache)
addCache 在接口中 SpringCacheManagerpublic SpringCache getCache(String cacheName)
getCache 在接口中 SpringCacheManagerpublic ExpiresConcurrentMapCache getMissingCache(String name)
getMissingCache 在接口中 SpringCacheManagerpublic void remove(String cacheName)
remove 在接口中 SpringCacheManagerpublic void remove(String cacheName, Object key)
remove 在接口中 SpringCacheManagerCopyright © 2022 Pivotal Software, Inc.. All rights reserved.