public abstract class ConcreteCache<K,V> extends Object
| Constructor and Description |
|---|
ConcreteCache() |
ConcreteCache(TimeUnit unit)
time个unit单位后移除缓存
|
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key) |
protected long |
getCachingTime() |
protected String |
getRule() |
void |
invalidate(K key)
使指定的缓存对象失效
|
protected abstract V |
load(K key) |
public ConcreteCache()
public ConcreteCache(TimeUnit unit)
unit - Copyright © 2018. All rights reserved.