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 ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from class com.atlassian.nutcluster.hibernate.AbstractNutclusterCacheRegionFactory
cleanupService, instanceFields inherited from class org.hibernate.cache.spi.AbstractRegionFactory
LEGACY_QUERY_RESULTS_REGION_UNQUALIFIED_NAMES, LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMESFields inherited from interface org.hibernate.cache.spi.RegionFactory
DEFAULT_QUERY_RESULTS_REGION_UNQUALIFIED_NAME, DEFAULT_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAME -
Constructor Summary
ConstructorsConstructorDescriptionConfluenceNutclusterLocalCacheRegionFactory(Supplier<com.atlassian.nutcluster.core.NutclusterInstance> nutclusterInstanceSupplier, com.atlassian.cache.CacheSettingsDefaultsProvider cacheSettingsDefaultsProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.atlassian.nutcluster.hibernate.RegionCachecreateRegionCache(String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig) protected com.atlassian.nutcluster.hibernate.RegionCachecreateTimestampsRegionCache(String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) Methods inherited from class com.atlassian.nutcluster.hibernate.NutclusterLocalCacheRegionFactory
nextTimestampMethods inherited from class com.atlassian.nutcluster.hibernate.AbstractNutclusterCacheRegionFactory
buildDomainDataRegion, createDomainDataStorageAccess, createQueryResultsRegionStorageAccess, createTimestampsRegionStorageAccess, getImplicitCacheKeysFactory, getNutclusterInstance, isStarted, prepareForUse, releaseFromUseMethods inherited from class org.hibernate.cache.spi.support.RegionFactoryTemplate
buildQueryResultsRegion, buildTimestampsRegionMethods inherited from class org.hibernate.cache.spi.AbstractRegionFactory
createTransactionContext, getDefaultAccessType, getOptions, getTimeout, isMinimalPutsEnabledByDefault, qualify, start, stop, verifiedStartStatus, verifyStarted
-
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:
createRegionCachein classcom.atlassian.nutcluster.hibernate.NutclusterLocalCacheRegionFactory
-
createTimestampsRegionCache
protected com.atlassian.nutcluster.hibernate.RegionCache createTimestampsRegionCache(String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) - Overrides:
createTimestampsRegionCachein classcom.atlassian.nutcluster.hibernate.NutclusterLocalCacheRegionFactory
-