public class ConfluenceRegionFactory extends Object implements org.hibernate.cache.spi.RegionFactory
RegionFactory
for Hibernate L2 cachesConstructor and Description |
---|
ConfluenceRegionFactory() |
Modifier and Type | Method and Description |
---|---|
org.hibernate.cache.spi.CollectionRegion |
buildCollectionRegion(String regionName,
Properties properties,
org.hibernate.cache.spi.CacheDataDescription metadata) |
org.hibernate.cache.spi.EntityRegion |
buildEntityRegion(String regionName,
Properties properties,
org.hibernate.cache.spi.CacheDataDescription metadata) |
org.hibernate.cache.spi.NaturalIdRegion |
buildNaturalIdRegion(String regionName,
Properties properties,
org.hibernate.cache.spi.CacheDataDescription metadata) |
org.hibernate.cache.spi.QueryResultsRegion |
buildQueryResultsRegion(String regionName,
Properties properties) |
org.hibernate.cache.spi.TimestampsRegion |
buildTimestampsRegion(String regionName,
Properties properties) |
org.hibernate.cache.spi.access.AccessType |
getDefaultAccessType() |
boolean |
isMinimalPutsEnabledByDefault() |
long |
nextTimestamp() |
void |
start(org.hibernate.boot.spi.SessionFactoryOptions settings,
Properties properties) |
void |
stop() |
public void start(org.hibernate.boot.spi.SessionFactoryOptions 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 org.hibernate.cache.spi.access.AccessType getDefaultAccessType()
getDefaultAccessType
in interface org.hibernate.cache.spi.RegionFactory
public long nextTimestamp()
nextTimestamp
in interface org.hibernate.cache.spi.RegionFactory
public org.hibernate.cache.spi.EntityRegion buildEntityRegion(String regionName, Properties properties, org.hibernate.cache.spi.CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildEntityRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.NaturalIdRegion buildNaturalIdRegion(String regionName, Properties properties, org.hibernate.cache.spi.CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildNaturalIdRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.CollectionRegion buildCollectionRegion(String regionName, Properties properties, org.hibernate.cache.spi.CacheDataDescription metadata) throws org.hibernate.cache.CacheException
buildCollectionRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildQueryResultsRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildTimestampsRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
Copyright © 2003–2021 Atlassian. All rights reserved.