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:
- com.liferay.portal.kernel.cache.CacheRegistryItem, org.hibernate.cache.GeneralDataRegion, org.hibernate.cache.Region, org.hibernate.cache.TimestampsRegion
public class TimestampsRegionWrapper
- extends BaseRegionWrapper
- implements org.hibernate.cache.TimestampsRegion
- Author:
- Edward Han
|
Constructor Summary |
TimestampsRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheTimestampsRegion ehcacheTimestampsRegion)
|
|
Method Summary |
void |
evict(java.lang.Object key)
|
void |
evictAll()
|
java.lang.Object |
get(java.lang.Object key)
|
protected net.sf.ehcache.hibernate.regions.EhcacheTimestampsRegion |
getEhcacheTimestampsRegion()
|
void |
invalidate()
|
void |
put(java.lang.Object key,
java.lang.Object value)
|
| 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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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(java.lang.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 java.lang.Object get(java.lang.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 com.liferay.portal.kernel.cache.CacheRegistryItem
put
public void put(java.lang.Object key,
java.lang.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()