ehcache

net.sf.ehcache.hibernate.regions
Class EhcacheQueryResultsRegion

java.lang.Object
  extended by net.sf.ehcache.hibernate.regions.EhcacheDataRegion
      extended by net.sf.ehcache.hibernate.regions.EhcacheQueryResultsRegion

public class EhcacheQueryResultsRegion
extends EhcacheDataRegion

A query results region specific wrapper around an Ehcache instance.

Author:
Chris Dennis

Field Summary
 
Fields inherited from class net.sf.ehcache.hibernate.regions.EhcacheDataRegion
accessStrategyFactory, cache
 
Constructor Summary
EhcacheQueryResultsRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache underlyingCache, Properties properties)
          Constructs an EhcacheQueryResultsRegion around the given underlying cache.
 
Method Summary
 void evict(Object key)
          
 void evictAll()
          
 Object get(Object key)
          
 void put(Object key, Object value)
          
 
Methods inherited from class net.sf.ehcache.hibernate.regions.EhcacheDataRegion
contains, destroy, getEhcache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcacheQueryResultsRegion

public EhcacheQueryResultsRegion(EhcacheAccessStrategyFactory accessStrategyFactory,
                                 Ehcache underlyingCache,
                                 Properties properties)
Constructs an EhcacheQueryResultsRegion around the given underlying cache.

Parameters:
accessStrategyFactory -
Method Detail

get

public Object get(Object key)
           throws CacheException

Throws:
CacheException

put

public void put(Object key,
                Object value)
         throws CacheException

Throws:
CacheException

evict

public void evict(Object key)
           throws CacheException

Throws:
CacheException

evictAll

public void evictAll()
              throws CacheException

Throws:
CacheException

ehcache

Copyright 2001-2016, Terracotta, Inc.