public class EhcacheCacheAdaptor extends Object implements org.canedata.cache.Cache
| Modifier and Type | Field and Description |
|---|---|
protected org.canedata.logging.Logger |
logger |
protected net.sf.ehcache.Cache |
wrapped |
| Constructor and Description |
|---|
EhcacheCacheAdaptor(net.sf.ehcache.Cache wrap) |
| Modifier and Type | Method and Description |
|---|---|
void |
cache(org.canedata.cache.Cacheable target) |
boolean |
isAlive(Object key) |
void |
remove(Object key) |
<T> T |
restore(Object key) |
protected org.canedata.logging.Logger logger
protected net.sf.ehcache.Cache wrapped
public void cache(org.canedata.cache.Cacheable target)
cache in interface org.canedata.cache.Cachepublic <T> T restore(Object key)
restore in interface org.canedata.cache.Cachepublic void remove(Object key)
remove in interface org.canedata.cache.Cachepublic boolean isAlive(Object key)
isAlive in interface org.canedata.cache.CacheCopyright © 2014. All rights reserved.