标签:div block strong ken 移除 value turn exist agg
boolean isKeyInCache(java.lang.Object key)
key
- the key to check forElement getQuiet(java.lang.Object key) throws java.lang.IllegalStateException, CacheException
key
- a serializable valuejava.lang.IllegalStateException
- if the cache is not Status.STATUS_ALIVE
CacheException
isExpired(net.sf.ehcache.Element)
boolean isExpired(Element element) throws java.lang.IllegalStateException, java.lang.NullPointerException
The element is expired if:
element
- the element to checkjava.lang.IllegalStateException
- if the cache is not Status.STATUS_ALIVE
java.lang.NullPointerException
- if the element is nullehcache如何判断缓存数据是否存在--isKeyInCache
标签:div block strong ken 移除 value turn exist agg
原文地址:https://www.cnblogs.com/liuys635/p/12590934.html