public final class UtilCache<V> extends Object implements Cache<V>
内存缓存
static <V> UtilCache<V>
createUtilCache(String cacheName)
V
get(String key)
String
getCacheName()
void
put(String key, V value)
putIfAbsent(String cacheKey, V v)
remove(String cacheKey)
List<V>
values()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static <V> UtilCache<V> createUtilCache(String cacheName)
public String getCacheName()
getCacheName
Cache<V>
public void put(String key, V value)
put
public V get(String key)
get
public V putIfAbsent(String cacheKey, V v)
putIfAbsent
public V remove(String cacheKey)
remove
public List<V> values()
Copyright © 2019. All rights reserved.