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