public static class ConcurrentMapCacheMetrics.MonitoredConcurrentMapCache
extends org.springframework.cache.concurrent.ConcurrentMapCache
ConcurrentMapCache wrapper that collects metrics on its use.| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
evict(java.lang.Object key) |
org.springframework.cache.Cache.ValueWrapper |
get(java.lang.Object key) |
<T> T |
get(java.lang.Object key,
java.util.concurrent.Callable<T> valueLoader) |
<T> T |
get(java.lang.Object key,
java.lang.Class<T> type) |
void |
put(java.lang.Object key,
java.lang.Object value) |
org.springframework.cache.Cache.ValueWrapper |
putIfAbsent(java.lang.Object key,
java.lang.Object value) |
fromStoreValue, getName, getNativeCache, isStoreByValue, lookup, toStoreValuepublic org.springframework.cache.Cache.ValueWrapper get(java.lang.Object key)
get in interface org.springframework.cache.Cacheget in class org.springframework.cache.support.AbstractValueAdaptingCachepublic <T> T get(java.lang.Object key,
java.lang.Class<T> type)
get in interface org.springframework.cache.Cacheget in class org.springframework.cache.support.AbstractValueAdaptingCache@Nullable
public <T> T get(java.lang.Object key,
java.util.concurrent.Callable<T> valueLoader)
get in interface org.springframework.cache.Cacheget in class org.springframework.cache.concurrent.ConcurrentMapCachepublic void put(java.lang.Object key,
java.lang.Object value)
put in interface org.springframework.cache.Cacheput in class org.springframework.cache.concurrent.ConcurrentMapCachepublic org.springframework.cache.Cache.ValueWrapper putIfAbsent(java.lang.Object key,
java.lang.Object value)
putIfAbsent in interface org.springframework.cache.CacheputIfAbsent in class org.springframework.cache.concurrent.ConcurrentMapCachepublic void evict(java.lang.Object key)
evict in interface org.springframework.cache.Cacheevict in class org.springframework.cache.concurrent.ConcurrentMapCachepublic void clear()
clear in interface org.springframework.cache.Cacheclear in class org.springframework.cache.concurrent.ConcurrentMapCache