Package org.hibernate.testing.cache
Class CachingRegionFactory
- java.lang.Object
-
- org.hibernate.cache.spi.AbstractRegionFactory
-
- org.hibernate.cache.spi.support.RegionFactoryTemplate
-
- org.hibernate.testing.cache.CachingRegionFactory
-
- All Implemented Interfaces:
Serializable,org.hibernate.cache.spi.RegionFactory,org.hibernate.service.Service,org.hibernate.service.spi.Stoppable
public class CachingRegionFactory extends org.hibernate.cache.spi.support.RegionFactoryTemplate- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_ACCESSTYPE
-
Constructor Summary
Constructors Constructor Description CachingRegionFactory()CachingRegionFactory(Properties properties)CachingRegionFactory(org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory)CachingRegionFactory(org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory, Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.cache.spi.DomainDataRegionbuildDomainDataRegion(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext)protected org.hibernate.cache.spi.support.StorageAccesscreateQueryResultsRegionStorageAccess(String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)protected org.hibernate.cache.spi.support.StorageAccesscreateTimestampsRegionStorageAccess(String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)protected voidprepareForUse(org.hibernate.boot.spi.SessionFactoryOptions settings, Map configValues)protected voidreleaseFromUse()-
Methods inherited from class org.hibernate.cache.spi.support.RegionFactoryTemplate
buildQueryResultsRegion, buildTimestampsRegion, createDomainDataStorageAccess, getImplicitCacheKeysFactory
-
-
-
-
Field Detail
-
DEFAULT_ACCESSTYPE
public static String DEFAULT_ACCESSTYPE
-
-
Constructor Detail
-
CachingRegionFactory
public CachingRegionFactory()
-
CachingRegionFactory
public CachingRegionFactory(org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory)
-
CachingRegionFactory
public CachingRegionFactory(Properties properties)
-
CachingRegionFactory
public CachingRegionFactory(org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory, Properties properties)
-
-
Method Detail
-
prepareForUse
protected void prepareForUse(org.hibernate.boot.spi.SessionFactoryOptions settings, Map configValues)- Specified by:
prepareForUsein classorg.hibernate.cache.spi.AbstractRegionFactory
-
buildDomainDataRegion
public org.hibernate.cache.spi.DomainDataRegion buildDomainDataRegion(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext)- Specified by:
buildDomainDataRegionin interfaceorg.hibernate.cache.spi.RegionFactory- Overrides:
buildDomainDataRegionin classorg.hibernate.cache.spi.support.RegionFactoryTemplate
-
createQueryResultsRegionStorageAccess
protected org.hibernate.cache.spi.support.StorageAccess createQueryResultsRegionStorageAccess(String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
- Specified by:
createQueryResultsRegionStorageAccessin classorg.hibernate.cache.spi.support.RegionFactoryTemplate
-
createTimestampsRegionStorageAccess
protected org.hibernate.cache.spi.support.StorageAccess createTimestampsRegionStorageAccess(String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
- Specified by:
createTimestampsRegionStorageAccessin classorg.hibernate.cache.spi.support.RegionFactoryTemplate
-
releaseFromUse
protected void releaseFromUse()
- Specified by:
releaseFromUsein classorg.hibernate.cache.spi.AbstractRegionFactory
-
-