Class ConfluenceNutclusterLocalCacheRegionFactory

java.lang.Object
org.hibernate.cache.spi.AbstractRegionFactory
org.hibernate.cache.spi.support.RegionFactoryTemplate
com.atlassian.nutcluster.hibernate.AbstractNutclusterCacheRegionFactory
com.atlassian.nutcluster.hibernate.NutclusterLocalCacheRegionFactory
com.atlassian.confluence.impl.cache.nutcluster.hibernate.ConfluenceNutclusterLocalCacheRegionFactory
All Implemented Interfaces:
Serializable, org.hibernate.cache.spi.RegionFactory, org.hibernate.service.Service, org.hibernate.service.spi.Stoppable

public class ConfluenceNutclusterLocalCacheRegionFactory extends com.atlassian.nutcluster.hibernate.NutclusterLocalCacheRegionFactory
Factory for region caches.
Since:
8.9.0
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class com.atlassian.nutcluster.hibernate.AbstractNutclusterCacheRegionFactory

    cleanupService, instance

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfluenceNutclusterLocalCacheRegionFactory(Supplier<com.atlassian.nutcluster.core.NutclusterInstance> nutclusterInstanceSupplier, com.atlassian.cache.CacheSettingsDefaultsProvider cacheSettingsDefaultsProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.atlassian.nutcluster.hibernate.RegionCache
    createRegionCache(String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig)
     
    protected com.atlassian.nutcluster.hibernate.RegionCache
    createTimestampsRegionCache(String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
     

    Methods inherited from class com.atlassian.nutcluster.hibernate.NutclusterLocalCacheRegionFactory

    nextTimestamp

    Methods inherited from class com.atlassian.nutcluster.hibernate.AbstractNutclusterCacheRegionFactory

    buildDomainDataRegion, createDomainDataStorageAccess, createQueryResultsRegionStorageAccess, createTimestampsRegionStorageAccess, getImplicitCacheKeysFactory, getNutclusterInstance, isStarted, prepareForUse, releaseFromUse

    Methods inherited from class org.hibernate.cache.spi.support.RegionFactoryTemplate

    buildQueryResultsRegion, buildTimestampsRegion

    Methods inherited from class org.hibernate.cache.spi.AbstractRegionFactory

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfluenceNutclusterLocalCacheRegionFactory

      public ConfluenceNutclusterLocalCacheRegionFactory(Supplier<com.atlassian.nutcluster.core.NutclusterInstance> nutclusterInstanceSupplier, com.atlassian.cache.CacheSettingsDefaultsProvider cacheSettingsDefaultsProvider)
  • Method Details

    • createRegionCache

      protected com.atlassian.nutcluster.hibernate.RegionCache createRegionCache(String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig)
      Overrides:
      createRegionCache in class com.atlassian.nutcluster.hibernate.NutclusterLocalCacheRegionFactory
    • createTimestampsRegionCache

      protected com.atlassian.nutcluster.hibernate.RegionCache createTimestampsRegionCache(String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
      Overrides:
      createTimestampsRegionCache in class com.atlassian.nutcluster.hibernate.NutclusterLocalCacheRegionFactory