public class SpringBeanEhCacheRegionFactory extends Object
CacheManager by name| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.cache.ehcache.internal.strategy.EhcacheAccessStrategyFactory |
accessStrategyFactory |
static String |
CACHE_MANAGER_NAME |
protected org.slf4j.Logger |
logger |
protected net.sf.ehcache.CacheManager |
manager |
protected org.hibernate.cache.ehcache.management.impl.ProviderMBeanRegistrationHelper |
mbeanRegistrationHelper |
static String |
NET_SF_EHCACHE_CONFIGURATION_RESOURCE_NAME |
protected org.hibernate.cfg.Settings |
settings |
| Constructor and Description |
|---|
SpringBeanEhCacheRegionFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.cache.spi.CollectionRegion |
buildCollectionRegion(String arg0,
Properties arg1,
org.hibernate.cache.spi.CacheDataDescription arg2) |
org.hibernate.cache.spi.EntityRegion |
buildEntityRegion(String arg0,
Properties arg1,
org.hibernate.cache.spi.CacheDataDescription arg2) |
org.hibernate.cache.spi.NaturalIdRegion |
buildNaturalIdRegion(String arg0,
Properties arg1,
org.hibernate.cache.spi.CacheDataDescription arg2) |
org.hibernate.cache.spi.QueryResultsRegion |
buildQueryResultsRegion(String arg0,
Properties arg1) |
org.hibernate.cache.spi.TimestampsRegion |
buildTimestampsRegion(String arg0,
Properties arg1) |
org.hibernate.cache.spi.access.AccessType |
getDefaultAccessType() |
boolean |
isMinimalPutsEnabledByDefault() |
protected URL |
loadResource(String arg0) |
long |
nextTimestamp() |
void |
setClassLoaderService(org.hibernate.service.classloading.spi.ClassLoaderService arg0) |
void |
start(org.hibernate.cfg.Settings settings,
Properties properties) |
void |
stop() |
protected final org.slf4j.Logger logger
public static final String CACHE_MANAGER_NAME
public static final String NET_SF_EHCACHE_CONFIGURATION_RESOURCE_NAME
protected final org.hibernate.cache.ehcache.management.impl.ProviderMBeanRegistrationHelper mbeanRegistrationHelper
protected volatile net.sf.ehcache.CacheManager manager
protected org.hibernate.cfg.Settings settings
protected final org.hibernate.cache.ehcache.internal.strategy.EhcacheAccessStrategyFactory accessStrategyFactory
public void start(org.hibernate.cfg.Settings settings,
Properties properties)
throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheExceptionpublic void stop()
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault in interface org.hibernate.cache.spi.RegionFactorypublic long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.spi.RegionFactorypublic org.hibernate.cache.spi.EntityRegion buildEntityRegion(String arg0, Properties arg1, org.hibernate.cache.spi.CacheDataDescription arg2) throws org.hibernate.cache.CacheException
buildEntityRegion in interface org.hibernate.cache.spi.RegionFactoryorg.hibernate.cache.CacheExceptionpublic org.hibernate.cache.spi.NaturalIdRegion buildNaturalIdRegion(String arg0, Properties arg1, org.hibernate.cache.spi.CacheDataDescription arg2) throws org.hibernate.cache.CacheException
buildNaturalIdRegion in interface org.hibernate.cache.spi.RegionFactoryorg.hibernate.cache.CacheExceptionpublic org.hibernate.cache.spi.CollectionRegion buildCollectionRegion(String arg0, Properties arg1, org.hibernate.cache.spi.CacheDataDescription arg2) throws org.hibernate.cache.CacheException
buildCollectionRegion in interface org.hibernate.cache.spi.RegionFactoryorg.hibernate.cache.CacheExceptionpublic org.hibernate.cache.spi.QueryResultsRegion buildQueryResultsRegion(String arg0, Properties arg1) throws org.hibernate.cache.CacheException
buildQueryResultsRegion in interface org.hibernate.cache.spi.RegionFactoryorg.hibernate.cache.CacheExceptionpublic void setClassLoaderService(org.hibernate.service.classloading.spi.ClassLoaderService arg0)
public org.hibernate.cache.spi.TimestampsRegion buildTimestampsRegion(String arg0, Properties arg1) throws org.hibernate.cache.CacheException
buildTimestampsRegion in interface org.hibernate.cache.spi.RegionFactoryorg.hibernate.cache.CacheExceptionpublic org.hibernate.cache.spi.access.AccessType getDefaultAccessType()
getDefaultAccessType in interface org.hibernate.cache.spi.RegionFactoryCopyright © 2016 Jasig. All Rights Reserved.