类 HerodotusRegionFactory

java.lang.Object
org.hibernate.cache.spi.AbstractRegionFactory
org.hibernate.cache.spi.support.RegionFactoryTemplate
cn.herodotus.stirrup.data.hibernate.spi.cache.HerodotusRegionFactory
所有已实现的接口:
Serializable, org.hibernate.cache.spi.RegionFactory, org.hibernate.service.Service, org.hibernate.service.spi.Stoppable

public class HerodotusRegionFactory extends org.hibernate.cache.spi.support.RegionFactoryTemplate

Description: 自定义Hibernate二级缓存RegionFactory

作者:
: gengwei.zheng
另请参阅:
Date:
: 2021/7/12 22:04
  • 字段概要

    从类继承的字段 org.hibernate.cache.spi.AbstractRegionFactory

    LEGACY_QUERY_RESULTS_REGION_UNQUALIFIED_NAMES, LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMES

    从接口继承的字段 org.hibernate.cache.spi.RegionFactory

    DEFAULT_QUERY_RESULTS_REGION_UNQUALIFIED_NAME, DEFAULT_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAME
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected org.hibernate.cache.spi.support.DomainDataStorageAccess
    createDomainDataStorageAccess(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext)
     
    protected org.hibernate.cache.spi.support.StorageAccess
    createQueryResultsRegionStorageAccess(String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
     
    protected org.hibernate.cache.spi.support.StorageAccess
    createTimestampsRegionStorageAccess(String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
     
    protected void
    prepareForUse(org.hibernate.boot.spi.SessionFactoryOptions settings, Map configValues)
     
    protected void
     

    从类继承的方法 org.hibernate.cache.spi.support.RegionFactoryTemplate

    buildDomainDataRegion, buildQueryResultsRegion, buildTimestampsRegion, getImplicitCacheKeysFactory

    从类继承的方法 org.hibernate.cache.spi.AbstractRegionFactory

    createTransactionContext, getDefaultAccessType, getOptions, getTimeout, isMinimalPutsEnabledByDefault, isStarted, nextTimestamp, qualify, start, stop, verifiedStartStatus, verifyStarted

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • HerodotusRegionFactory

      public HerodotusRegionFactory()
  • 方法详细资料

    • createQueryResultsRegionStorageAccess

      protected org.hibernate.cache.spi.support.StorageAccess createQueryResultsRegionStorageAccess(String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
      指定者:
      createQueryResultsRegionStorageAccess 在类中 org.hibernate.cache.spi.support.RegionFactoryTemplate
    • createTimestampsRegionStorageAccess

      protected org.hibernate.cache.spi.support.StorageAccess createTimestampsRegionStorageAccess(String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
      指定者:
      createTimestampsRegionStorageAccess 在类中 org.hibernate.cache.spi.support.RegionFactoryTemplate
    • createDomainDataStorageAccess

      protected org.hibernate.cache.spi.support.DomainDataStorageAccess createDomainDataStorageAccess(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext)
      覆盖:
      createDomainDataStorageAccess 在类中 org.hibernate.cache.spi.support.RegionFactoryTemplate
    • prepareForUse

      protected void prepareForUse(org.hibernate.boot.spi.SessionFactoryOptions settings, Map configValues)
      指定者:
      prepareForUse 在类中 org.hibernate.cache.spi.AbstractRegionFactory
    • releaseFromUse

      protected void releaseFromUse()
      指定者:
      releaseFromUse 在类中 org.hibernate.cache.spi.AbstractRegionFactory