com.liferay.portal.dao.orm.hibernate.region
Class SingletonLiferayEhcacheRegionFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingletonLiferayEhcacheRegionFactory
public SingletonLiferayEhcacheRegionFactory(Properties properties)
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