Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.dao.orm.hibernate.region.SingletonLiferayEhcacheRegionFactory
All Implemented Interfaces:
org.hibernate.cache.RegionFactory

public class SingletonLiferayEhcacheRegionFactory
extends Object
implements org.hibernate.cache.RegionFactory


Constructor Summary
SingletonLiferayEhcacheRegionFactory(Properties properties)
           
 
Method Summary
 org.hibernate.cache.CollectionRegion buildCollectionRegion(String regionName, Properties properties, org.hibernate.cache.CacheDataDescription cacheDataDescription)
           
 org.hibernate.cache.EntityRegion buildEntityRegion(String regionName, Properties properties, org.hibernate.cache.CacheDataDescription cacheDataDescription)
           
 org.hibernate.cache.QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties)
           
 org.hibernate.cache.TimestampsRegion buildTimestampsRegion(String regionName, Properties properties)
           
 org.hibernate.cache.access.AccessType getDefaultAccessType()
           
static LiferayEhcacheRegionFactory getInstance()
           
 boolean isMinimalPutsEnabledByDefault()
           
 long nextTimestamp()
           
 void start(org.hibernate.cfg.Settings settings, Properties properties)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingletonLiferayEhcacheRegionFactory

public SingletonLiferayEhcacheRegionFactory(Properties properties)
Method Detail

getInstance

public static LiferayEhcacheRegionFactory getInstance()

buildCollectionRegion

public org.hibernate.cache.CollectionRegion buildCollectionRegion(String regionName,
                                                                  Properties properties,
                                                                  org.hibernate.cache.CacheDataDescription cacheDataDescription)
                                                           throws org.hibernate.cache.CacheException
Specified by:
buildCollectionRegion in interface org.hibernate.cache.RegionFactory
Throws:
org.hibernate.cache.CacheException

buildEntityRegion

public org.hibernate.cache.EntityRegion buildEntityRegion(String regionName,
                                                          Properties properties,
                                                          org.hibernate.cache.CacheDataDescription cacheDataDescription)
                                                   throws org.hibernate.cache.CacheException
Specified by:
buildEntityRegion in interface org.hibernate.cache.RegionFactory
Throws:
org.hibernate.cache.CacheException

buildQueryResultsRegion

public org.hibernate.cache.QueryResultsRegion buildQueryResultsRegion(String regionName,
                                                                      Properties properties)
                                                               throws org.hibernate.cache.CacheException
Specified by:
buildQueryResultsRegion in interface org.hibernate.cache.RegionFactory
Throws:
org.hibernate.cache.CacheException

buildTimestampsRegion

public org.hibernate.cache.TimestampsRegion buildTimestampsRegion(String regionName,
                                                                  Properties properties)
                                                           throws org.hibernate.cache.CacheException
Specified by:
buildTimestampsRegion in interface org.hibernate.cache.RegionFactory
Throws:
org.hibernate.cache.CacheException

getDefaultAccessType

public org.hibernate.cache.access.AccessType getDefaultAccessType()
Specified by:
getDefaultAccessType in interface org.hibernate.cache.RegionFactory

isMinimalPutsEnabledByDefault

public boolean isMinimalPutsEnabledByDefault()
Specified by:
isMinimalPutsEnabledByDefault in interface org.hibernate.cache.RegionFactory

nextTimestamp

public long nextTimestamp()
Specified by:
nextTimestamp in interface org.hibernate.cache.RegionFactory

start

public void start(org.hibernate.cfg.Settings settings,
                  Properties properties)
           throws org.hibernate.cache.CacheException
Specified by:
start in interface org.hibernate.cache.RegionFactory
Throws:
org.hibernate.cache.CacheException

stop

public void stop()
Specified by:
stop in interface org.hibernate.cache.RegionFactory

Liferay 6.2-ce-ga5