Class CachingRegionFactory

  • All Implemented Interfaces:
    java.io.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 java.lang.String DEFAULT_ACCESSTYPE  
      • Fields inherited from class org.hibernate.cache.spi.AbstractRegionFactory

        LEGACY_QUERY_RESULTS_REGION_UNQUALIFIED_NAMES, LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMES
      • Fields inherited from interface org.hibernate.cache.spi.RegionFactory

        DEFAULT_QUERY_RESULTS_REGION_UNQUALIFIED_NAME, DEFAULT_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.hibernate.cache.spi.DomainDataRegion buildDomainDataRegion​(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext)  
      protected org.hibernate.cache.spi.support.StorageAccess createQueryResultsRegionStorageAccess​(java.lang.String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)  
      protected org.hibernate.cache.spi.support.StorageAccess createTimestampsRegionStorageAccess​(java.lang.String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)  
      protected void prepareForUse​(org.hibernate.boot.spi.SessionFactoryOptions settings, java.util.Map configValues)  
      protected void releaseFromUse()  
      • Methods inherited from class org.hibernate.cache.spi.support.RegionFactoryTemplate

        buildQueryResultsRegion, buildTimestampsRegion, createDomainDataStorageAccess, getImplicitCacheKeysFactory
      • Methods inherited from class org.hibernate.cache.spi.AbstractRegionFactory

        createTransactionContext, getDefaultAccessType, getOptions, getTimeout, isMinimalPutsEnabledByDefault, isStarted, nextTimestamp, qualify, start, stop, verifiedStartStatus, verifyStarted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_ACCESSTYPE

        public static java.lang.String DEFAULT_ACCESSTYPE
    • Constructor Detail

      • CachingRegionFactory

        public CachingRegionFactory()
      • CachingRegionFactory

        public CachingRegionFactory​(org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory)
      • CachingRegionFactory

        public CachingRegionFactory​(java.util.Properties properties)
      • CachingRegionFactory

        public CachingRegionFactory​(org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory,
                                    java.util.Properties properties)
    • Method Detail

      • prepareForUse

        protected void prepareForUse​(org.hibernate.boot.spi.SessionFactoryOptions settings,
                                     java.util.Map configValues)
        Specified by:
        prepareForUse in class org.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:
        buildDomainDataRegion in interface org.hibernate.cache.spi.RegionFactory
        Overrides:
        buildDomainDataRegion in class org.hibernate.cache.spi.support.RegionFactoryTemplate
      • createQueryResultsRegionStorageAccess

        protected org.hibernate.cache.spi.support.StorageAccess createQueryResultsRegionStorageAccess​(java.lang.String regionName,
                                                                                                      org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
        Specified by:
        createQueryResultsRegionStorageAccess in class org.hibernate.cache.spi.support.RegionFactoryTemplate
      • createTimestampsRegionStorageAccess

        protected org.hibernate.cache.spi.support.StorageAccess createTimestampsRegionStorageAccess​(java.lang.String regionName,
                                                                                                    org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
        Specified by:
        createTimestampsRegionStorageAccess in class org.hibernate.cache.spi.support.RegionFactoryTemplate
      • releaseFromUse

        protected void releaseFromUse()
        Specified by:
        releaseFromUse in class org.hibernate.cache.spi.AbstractRegionFactory