public abstract class AbstractJ2CacheRegionFactory extends Object implements org.hibernate.cache.spi.RegionFactory
Modifier and Type | Field and Description |
---|---|
protected J2CacheAccessStrategyFactory |
accessStrategyFactory |
protected CacheChannel |
channel |
protected org.hibernate.boot.spi.SessionFactoryOptions |
settings |
Constructor and Description |
---|
AbstractJ2CacheRegionFactory() |
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 |
setChannel(CacheChannel channel) |
protected org.hibernate.boot.spi.SessionFactoryOptions settings
protected CacheChannel channel
protected final J2CacheAccessStrategyFactory accessStrategyFactory
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
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
public org.hibernate.cache.spi.access.AccessType getDefaultAccessType()
getDefaultAccessType
in interface org.hibernate.cache.spi.RegionFactory
public void setChannel(CacheChannel channel)
Copyright © 2018. All rights reserved.