net.sf.ehcache.hibernate.regions
Class EhcacheQueryResultsRegion
java.lang.Object
net.sf.ehcache.hibernate.regions.EhcacheDataRegion
net.sf.ehcache.hibernate.regions.EhcacheQueryResultsRegion
public class EhcacheQueryResultsRegion
- extends EhcacheDataRegion
A query results region specific wrapper around an Ehcache instance.
- Author:
- Chris Dennis
Constructor Summary |
EhcacheQueryResultsRegion(Ehcache underlyingCache,
java.util.Properties properties)
Constructs an EhcacheQueryResultsRegion around the given underlying cache. |
Method Summary |
void |
evict(java.lang.Object key)
|
void |
evictAll()
|
java.lang.Object |
get(java.lang.Object key)
|
void |
put(java.lang.Object key,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhcacheQueryResultsRegion
public EhcacheQueryResultsRegion(Ehcache underlyingCache,
java.util.Properties properties)
- Constructs an EhcacheQueryResultsRegion around the given underlying cache.
get
public java.lang.Object get(java.lang.Object key)
throws CacheException
-
- Throws:
CacheException
put
public void put(java.lang.Object key,
java.lang.Object value)
throws CacheException
-
- Throws:
CacheException
evict
public void evict(java.lang.Object key)
throws CacheException
-
- Throws:
CacheException
evictAll
public void evictAll()
throws CacheException
-
- Throws:
CacheException
true