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)
,
Serialized FormConstructor 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 |
---|---|
CollectionRegion |
buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
EntityRegion |
buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
buildQueryResultsRegion(String regionName,
Properties properties) |
TimestampsRegion |
buildTimestampsRegion(String regionName,
Properties properties) |
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.spi.RegionFactory
org.hibernate.cache.CacheException
public void stop()
stop
in interface org.hibernate.cache.spi.RegionFactory
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
in interface org.hibernate.cache.spi.RegionFactory
public AccessType getDefaultAccessType()
getDefaultAccessType
in interface org.hibernate.cache.spi.RegionFactory
public long nextTimestamp()
nextTimestamp
in interface org.hibernate.cache.spi.RegionFactory
public EntityRegion buildEntityRegion(String regionName, Properties properties, CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildEntityRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildCollectionRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildQueryResultsRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildTimestampsRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
Copyright © 2021. All rights reserved.