public static class AbstractMapCacheManager.WeakConcurrentMapCacheManager extends AbstractMapCacheManager
CacheManager that creates a cache instance what stores data in the CollectionUtils.newWeakConcurrentMap().
The storage data will be automatically cleared when the JVM garbage collection is performed.AbstractMapCacheManager.ConcurrentHashMapCacheManager, AbstractMapCacheManager.MapCacheObject<K>, AbstractMapCacheManager.WeakConcurrentMapCacheManagerAbstractCacheManager.AbstractCacheObject<K>DEFAULT_GUAVA_CACHE_MANAGER_NAME, DEFAULT_MAP_CACHE_MANAGER_NAME| 构造器和说明 |
|---|
WeakConcurrentMapCacheManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected <K> Map<K,Object> |
createMap()
Create a
Map instance. |
String |
getName()
Get the component name.
|
doCreateCache, newConcurrentHashMapCacheManager, newWeakConcurrentMapCacheManagerclearAll, createCache, getCache, invalidate, removeCachepublic String getName()
protected <K> Map<K,Object> createMap()
AbstractMapCacheManagerMap instance.createMap 在类中 AbstractMapCacheManagerK - key typeCopyright © 2024. All rights reserved.