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.RegionFactory
org.hibernate.cache.CacheException
public void stop()
stop
in interface org.hibernate.cache.RegionFactory
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
in interface org.hibernate.cache.RegionFactory
public org.hibernate.cache.access.AccessType getDefaultAccessType()
getDefaultAccessType
in interface org.hibernate.cache.RegionFactory
public long nextTimestamp()
nextTimestamp
in interface org.hibernate.cache.RegionFactory
public 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.RegionFactory
org.hibernate.cache.CacheException
public 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.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildQueryResultsRegion
in interface org.hibernate.cache.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildTimestampsRegion
in interface org.hibernate.cache.RegionFactory
org.hibernate.cache.CacheException
Copyright © 2015. All rights reserved.