public class LocalRegionFactoryProxy extends Object implements RegionFactory
LocalSessionFactoryBean.setCacheRegionFactory(org.hibernate.cache.RegionFactory)
,
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) |
org.hibernate.cache.access.AccessType |
getDefaultAccessType() |
boolean |
isMinimalPutsEnabledByDefault() |
long |
nextTimestamp() |
void |
start(Settings settings,
Properties properties) |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildCollectionRegion, buildEntityRegion, buildNaturalIdRegion
public LocalRegionFactoryProxy()
public LocalRegionFactoryProxy(Properties properties)
public void start(Settings settings, Properties properties) throws CacheException
start
in interface RegionFactory
CacheException
public void stop()
stop
in interface RegionFactory
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
in interface RegionFactory
public org.hibernate.cache.access.AccessType getDefaultAccessType()
getDefaultAccessType
in interface RegionFactory
public long nextTimestamp()
nextTimestamp
in interface RegionFactory
public EntityRegion buildEntityRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException
CacheException
public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException
CacheException
public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws CacheException
buildQueryResultsRegion
in interface RegionFactory
CacheException
public TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws CacheException
buildTimestampsRegion
in interface RegionFactory
CacheException