com.liferay.portal.dao.orm.hibernate.region
Class BaseRegionWrapper
java.lang.Object
com.liferay.portal.dao.orm.hibernate.region.BaseRegionWrapper
- All Implemented Interfaces:
- com.liferay.portal.kernel.cache.CacheRegistryItem, org.hibernate.cache.Region
- Direct Known Subclasses:
- CollectionRegionWrapper, EntityRegionWrapper, QueryResultsRegionWrapper, TimestampsRegionWrapper
public abstract class BaseRegionWrapper
- extends java.lang.Object
- implements com.liferay.portal.kernel.cache.CacheRegistryItem, org.hibernate.cache.Region
- Author:
- Edward Han
|
Constructor Summary |
BaseRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheDataRegion ehcacheDataRegion)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.kernel.cache.CacheRegistryItem |
invalidate |
BaseRegionWrapper
public BaseRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheDataRegion ehcacheDataRegion)
contains
public boolean contains(java.lang.Object object)
- Specified by:
contains in interface org.hibernate.cache.Region
destroy
public void destroy()
throws org.hibernate.cache.CacheException
- Specified by:
destroy in interface org.hibernate.cache.Region
- Throws:
org.hibernate.cache.CacheException
getElementCountInMemory
public long getElementCountInMemory()
- Specified by:
getElementCountInMemory in interface org.hibernate.cache.Region
getElementCountOnDisk
public long getElementCountOnDisk()
- Specified by:
getElementCountOnDisk in interface org.hibernate.cache.Region
getName
public java.lang.String getName()
- Specified by:
getName in interface org.hibernate.cache.Region
getRegistryName
public java.lang.String getRegistryName()
- Specified by:
getRegistryName in interface com.liferay.portal.kernel.cache.CacheRegistryItem
getSizeInMemory
public long getSizeInMemory()
- Specified by:
getSizeInMemory in interface org.hibernate.cache.Region
getTimeout
public int getTimeout()
- Specified by:
getTimeout in interface org.hibernate.cache.Region
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestamp in interface org.hibernate.cache.Region
toMap
public java.util.Map toMap()
- Specified by:
toMap in interface org.hibernate.cache.Region
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
doDestroy
protected void doDestroy()
getEhcacheDataRegion
protected net.sf.ehcache.hibernate.regions.EhcacheDataRegion getEhcacheDataRegion()