public abstract class BaseRegionWrapper
extends java.lang.Object
implements com.liferay.portal.kernel.cache.CacheRegistryItem, org.hibernate.cache.Region
| Constructor and Description |
|---|
BaseRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheDataRegion ehcacheDataRegion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.Object object) |
void |
destroy() |
protected void |
doDestroy() |
protected net.sf.ehcache.hibernate.regions.EhcacheDataRegion |
getEhcacheDataRegion() |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk() |
java.lang.String |
getName() |
java.lang.String |
getRegistryName() |
long |
getSizeInMemory() |
int |
getTimeout() |
long |
nextTimestamp() |
java.util.Map |
toMap() |
java.lang.String |
toString() |
public BaseRegionWrapper(net.sf.ehcache.hibernate.regions.EhcacheDataRegion ehcacheDataRegion)
public boolean contains(java.lang.Object object)
contains in interface org.hibernate.cache.Regionpublic void destroy()
throws org.hibernate.cache.CacheException
destroy in interface org.hibernate.cache.Regionorg.hibernate.cache.CacheExceptionpublic long getElementCountInMemory()
getElementCountInMemory in interface org.hibernate.cache.Regionpublic long getElementCountOnDisk()
getElementCountOnDisk in interface org.hibernate.cache.Regionpublic java.lang.String getName()
getName in interface org.hibernate.cache.Regionpublic java.lang.String getRegistryName()
getRegistryName in interface com.liferay.portal.kernel.cache.CacheRegistryItempublic long getSizeInMemory()
getSizeInMemory in interface org.hibernate.cache.Regionpublic int getTimeout()
getTimeout in interface org.hibernate.cache.Regionpublic long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.Regionpublic java.util.Map toMap()
toMap in interface org.hibernate.cache.Regionpublic java.lang.String toString()
toString in class java.lang.Objectprotected void doDestroy()
protected net.sf.ehcache.hibernate.regions.EhcacheDataRegion getEhcacheDataRegion()