public class LocalRegionFactoryProxy extends Object implements org.hibernate.cache.RegionFactory
Compatible with Hibernate 3.3 as well as Hibernate 3.5's version of the RegionFactory SPI.
LocalSessionFactoryBean.setCacheRegionFactory(java.lang.Object)| Constructor and Description |
|---|
LocalRegionFactoryProxy()
Standard constructor.
|
LocalRegionFactoryProxy(Properties properties)
Properties constructor: not used by this class or formally required,
but enforced by Hibernate when reflectively instantiating a RegionFactory.
|
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.cache.CollectionRegion |
buildCollectionRegion(String regionName,
Properties properties,
org.hibernate.cache.CacheDataDescription metadata) |
org.hibernate.cache.EntityRegion |
buildEntityRegion(String regionName,
Properties properties,
org.hibernate.cache.CacheDataDescription metadata) |
org.hibernate.cache.QueryResultsRegion |
buildQueryResultsRegion(String regionName,
Properties properties) |
org.hibernate.cache.TimestampsRegion |
buildTimestampsRegion(String regionName,
Properties properties) |
org.hibernate.cache.access.AccessType |
getDefaultAccessType() |
boolean |
isMinimalPutsEnabledByDefault() |
long |
nextTimestamp() |
void |
start(org.hibernate.cfg.Settings settings,
Properties properties) |
void |
stop() |
public LocalRegionFactoryProxy()
public LocalRegionFactoryProxy(Properties properties)
public void start(org.hibernate.cfg.Settings settings,
Properties properties)
throws org.hibernate.cache.CacheException
start in interface org.hibernate.cache.RegionFactoryorg.hibernate.cache.CacheExceptionpublic void stop()
stop in interface org.hibernate.cache.RegionFactorypublic boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault in interface org.hibernate.cache.RegionFactorypublic org.hibernate.cache.access.AccessType getDefaultAccessType()
getDefaultAccessType in interface org.hibernate.cache.RegionFactorypublic long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.RegionFactorypublic org.hibernate.cache.EntityRegion buildEntityRegion(String regionName, Properties properties, org.hibernate.cache.CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildEntityRegion in interface org.hibernate.cache.RegionFactoryorg.hibernate.cache.CacheExceptionpublic org.hibernate.cache.CollectionRegion buildCollectionRegion(String regionName, Properties properties, org.hibernate.cache.CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildCollectionRegion in interface org.hibernate.cache.RegionFactoryorg.hibernate.cache.CacheExceptionpublic org.hibernate.cache.QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildQueryResultsRegion in interface org.hibernate.cache.RegionFactoryorg.hibernate.cache.CacheExceptionpublic org.hibernate.cache.TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildTimestampsRegion in interface org.hibernate.cache.RegionFactoryorg.hibernate.cache.CacheExceptionCopyright © 2015. All rights reserved.