com.liferay.portal.dao.orm.hibernate.region
Class BaseRegionWrapper
java.lang.Object
com.liferay.portal.dao.orm.hibernate.region.BaseRegionWrapper
- All Implemented Interfaces:
- CacheRegistryItem, org.hibernate.cache.Region
- Direct Known Subclasses:
- CollectionRegionWrapper, EntityRegionWrapper, QueryResultsRegionWrapper, TimestampsRegionWrapper
public abstract class BaseRegionWrapper
- extends Object
- implements CacheRegistryItem, org.hibernate.cache.Region
Constructor Summary |
BaseRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheDataRegion ehcacheDataRegion)
|
BaseRegionWrapper
public BaseRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheDataRegion ehcacheDataRegion)
contains
public boolean contains(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 String getName()
- Specified by:
getName
in interface org.hibernate.cache.Region
getRegistryName
public String getRegistryName()
- Specified by:
getRegistryName
in interface 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 Map toMap()
- Specified by:
toMap
in interface org.hibernate.cache.Region
toString
public String toString()
- Overrides:
toString
in class Object
doDestroy
protected void doDestroy()
getEhcacheDataRegion
protected net.sf.ehcache.hibernate.regions.EhcacheDataRegion getEhcacheDataRegion()