com.liferay.portal.dao.orm.hibernate.region
Class EntityRegionWrapper
java.lang.Object
com.liferay.portal.dao.orm.hibernate.region.BaseRegionWrapper
com.liferay.portal.dao.orm.hibernate.region.EntityRegionWrapper
- All Implemented Interfaces:
- CacheRegistryItem, org.hibernate.cache.EntityRegion, org.hibernate.cache.Region, org.hibernate.cache.TransactionalDataRegion
public class EntityRegionWrapper
- extends BaseRegionWrapper
- implements org.hibernate.cache.EntityRegion
Constructor Summary |
EntityRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheEntityRegion ehcacheEntityRegion)
|
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 |
EntityRegionWrapper
public EntityRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheEntityRegion ehcacheEntityRegion)
buildAccessStrategy
public org.hibernate.cache.access.EntityRegionAccessStrategy buildAccessStrategy(org.hibernate.cache.access.AccessType accessType)
throws org.hibernate.cache.CacheException
- Specified by:
buildAccessStrategy
in interface org.hibernate.cache.EntityRegion
- Throws:
org.hibernate.cache.CacheException
getCacheDataDescription
public org.hibernate.cache.CacheDataDescription getCacheDataDescription()
- Specified by:
getCacheDataDescription
in interface org.hibernate.cache.TransactionalDataRegion
invalidate
public void invalidate()
- Specified by:
invalidate
in interface CacheRegistryItem
isTransactionAware
public boolean isTransactionAware()
- Specified by:
isTransactionAware
in interface org.hibernate.cache.TransactionalDataRegion
getEhcacheEntityRegion
protected net.sf.ehcache.hibernate.regions.EhcacheEntityRegion getEhcacheEntityRegion()