Liferay 6.2-ce-ga5

com.liferay.portal.dao.orm.hibernate.region
Class BaseRegionWrapper

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean contains(Object object)
           
 void destroy()
           
protected  void doDestroy()
           
protected  net.sf.ehcache.hibernate.regions.EhcacheDataRegion getEhcacheDataRegion()
           
 long getElementCountInMemory()
           
 long getElementCountOnDisk()
           
 String getName()
           
 String getRegistryName()
           
 long getSizeInMemory()
           
 int getTimeout()
           
 long nextTimestamp()
           
 Map toMap()
           
 String toString()
           
 
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
 

Constructor Detail

BaseRegionWrapper

public BaseRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheDataRegion ehcacheDataRegion)
Method Detail

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()

Liferay 6.2-ce-ga5