K
T
public class CachedMap<K,T> extends Object
CachedMap(Function<K,T> refresher)
CachedMap(Function<K,T> refresher, int initialCapacity)
CachedMap(Function<K,T> refresher, long freshPeriod, int initialCapacity)
void
evictObject(K key)
getCachedObject(K key)
setFreshPeriod(int freshPeriod)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CachedMap(Function<K,T> refresher, long freshPeriod, int initialCapacity)
refresher
freshPeriod
public CachedMap(Function<K,T> refresher)
public CachedMap(Function<K,T> refresher, int initialCapacity)
public void setFreshPeriod(int freshPeriod)
public void evictObject(K key)
public T getCachedObject(K key)
Copyright © 2018 江苏南大先腾信息产业股份有限公司. All rights reserved.