public class MemoryCacheManager extends ConcurrentHashMap<String,Cache<?,?>> implements CacheManager
ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
MemoryCacheManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
销毁 cache
|
<K,V> Cache<K,V> |
getCache(String name)
根据 cache 的名称获取 cache。
|
<V> Cache<String,V> |
getCache(String name,
Class<V> clz) |
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesclonepublic <K,V> Cache<K,V> getCache(String name)
CacheManagergetCache 在接口中 CacheManagername - Cache 的名称public void destroy()
CacheManagerdestroy 在接口中 CacheManagerCopyright © 2013–2021 AJAXJS. All rights reserved.