ehcache

net.sf.ehcache.hibernate.regions
Class EhcacheTimestampsRegion

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

public class EhcacheTimestampsRegion
extends EhcacheDataRegion

A timestamps region specific wrapper around an Ehcache instance.

Author:
Chris Dennis

Field Summary
 
Fields inherited from class net.sf.ehcache.hibernate.regions.EhcacheDataRegion
cache
 
Constructor Summary
EhcacheTimestampsRegion(Ehcache underlyingCache, java.util.Properties properties)
          Constructs an EhcacheTimestampsRegion 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 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

EhcacheTimestampsRegion

public EhcacheTimestampsRegion(Ehcache underlyingCache,
                               java.util.Properties properties)
Constructs an EhcacheTimestampsRegion around the given underlying cache.

Method Detail

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

ehcache

true