| Modifier and Type | Field and Description |
|---|---|
private net.sf.ehcache.Cache |
ehcache
The ehcache.
|
| Constructor and Description |
|---|
EhCacheWrapper(net.sf.ehcache.Cache ehcache)
Instantiates a new eh cache wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Class arg0,
Object arg1) |
void |
evict(Class arg0) |
void |
evict(Class arg0,
Object arg1) |
void |
evictAll() |
Object |
get(Object key) |
private boolean |
isAlive() |
void |
put(Object key,
Object value) |
int |
size() |
<T> T |
unwrap(Class<T> arg0) |
public EhCacheWrapper(net.sf.ehcache.Cache ehcache)
ehcache - the ehcachepublic int size()
public boolean contains(Class arg0, Object arg1)
contains in interface javax.persistence.Cachepublic void evict(Class arg0)
evict in interface javax.persistence.Cachepublic void evict(Class arg0, Object arg1)
evict in interface javax.persistence.Cachepublic void evictAll()
evictAll in interface javax.persistence.Cachepublic <T> T unwrap(Class<T> arg0)
unwrap in interface javax.persistence.Cacheprivate boolean isAlive()
Copyright © 2017. All Rights Reserved.