|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxinmy.weixin4j.cache.CacheManager<T>
public class CacheManager<T extends Cacheable>
缓存管理类
| Constructor Summary | |
|---|---|
CacheManager(CacheCreator<T> cacheCreator,
CacheStorager<T> cacheStorager)
|
|
| Method Summary | |
|---|---|
void |
clearCache()
清除所有的缓存(请慎重) |
T |
evictCache()
移除缓存 |
T |
getCache()
获取缓存对象 |
T |
refreshCache()
刷新缓存对象 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheManager(CacheCreator<T> cacheCreator,
CacheStorager<T> cacheStorager)
| Method Detail |
|---|
public T getCache()
throws WeixinException
WeixinException
public T refreshCache()
throws WeixinException
WeixinExceptionpublic T evictCache()
public void clearCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||