com.liferay.portal.dao.orm.hibernate.region
Class TimestampsRegionWrapper
java.lang.Object
com.liferay.portal.dao.orm.hibernate.region.BaseRegionWrapper
com.liferay.portal.dao.orm.hibernate.region.TimestampsRegionWrapper
- All Implemented Interfaces:
- CacheRegistryItem, org.hibernate.cache.GeneralDataRegion, org.hibernate.cache.Region, org.hibernate.cache.TimestampsRegion
public class TimestampsRegionWrapper
- extends BaseRegionWrapper
- implements org.hibernate.cache.TimestampsRegion
Constructor Summary |
TimestampsRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheTimestampsRegion ehcacheTimestampsRegion)
|
Methods inherited from class com.liferay.portal.dao.orm.hibernate.region.BaseRegionWrapper |
contains, destroy, doDestroy, getEhcacheDataRegion, getElementCountInMemory, getElementCountOnDisk, getName, getRegistryName, getSizeInMemory, getTimeout, nextTimestamp, toMap, toString |
Methods inherited from interface org.hibernate.cache.Region |
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap |
TimestampsRegionWrapper
public TimestampsRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheTimestampsRegion ehcacheTimestampsRegion)
evict
public void evict(Object key)
throws org.hibernate.cache.CacheException
- Specified by:
evict
in interface org.hibernate.cache.GeneralDataRegion
- Throws:
org.hibernate.cache.CacheException
evictAll
public void evictAll()
throws org.hibernate.cache.CacheException
- Specified by:
evictAll
in interface org.hibernate.cache.GeneralDataRegion
- Throws:
org.hibernate.cache.CacheException
get
public Object get(Object key)
throws org.hibernate.cache.CacheException
- Specified by:
get
in interface org.hibernate.cache.GeneralDataRegion
- Throws:
org.hibernate.cache.CacheException
invalidate
public void invalidate()
- Specified by:
invalidate
in interface CacheRegistryItem
put
public void put(Object key,
Object value)
throws org.hibernate.cache.CacheException
- Specified by:
put
in interface org.hibernate.cache.GeneralDataRegion
- Throws:
org.hibernate.cache.CacheException
getEhcacheTimestampsRegion
protected net.sf.ehcache.hibernate.regions.EhcacheTimestampsRegion getEhcacheTimestampsRegion()