public class EhcacheQueryResultsRegion extends EhcacheDataRegion implements org.hibernate.cache.QueryResultsRegion
accessStrategyFactory, cache
Constructor and Description |
---|
EhcacheQueryResultsRegion(EhcacheAccessStrategyFactory accessStrategyFactory,
Ehcache underlyingCache,
Properties properties)
Constructs an EhcacheQueryResultsRegion around the given underlying cache.
|
Modifier and Type | Method and Description |
---|---|
void |
evict(Object key) |
void |
evictAll() |
Object |
get(Object key) |
void |
put(Object key,
Object value) |
contains, destroy, getEhcache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
public EhcacheQueryResultsRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache underlyingCache, Properties properties)
accessStrategyFactory
- public Object get(Object key) throws org.hibernate.cache.CacheException
get
in interface org.hibernate.cache.GeneralDataRegion
org.hibernate.cache.CacheException
public void put(Object key, Object value) throws org.hibernate.cache.CacheException
put
in interface org.hibernate.cache.GeneralDataRegion
org.hibernate.cache.CacheException
public void evict(Object key) throws org.hibernate.cache.CacheException
evict
in interface org.hibernate.cache.GeneralDataRegion
org.hibernate.cache.CacheException
public void evictAll() throws org.hibernate.cache.CacheException
evictAll
in interface org.hibernate.cache.GeneralDataRegion
org.hibernate.cache.CacheException
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.