Class DefaultCacheConfigManager

  • All Implemented Interfaces:
    CacheConfigManager, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public class DefaultCacheConfigManager
    extends Object
    implements CacheConfigManager, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    • Constructor Detail

      • DefaultCacheConfigManager

        public DefaultCacheConfigManager​(CacheSettingsManager cacheSettingsManager,
                                         com.atlassian.cache.CacheManager cacheManager,
                                         com.atlassian.event.api.EventPublisher eventPublisher)
    • Method Detail

      • onMaxEntriesSettingChanged

        @EventListener
        public void onMaxEntriesSettingChanged​(ClusterEventWrapper clusterEventWrapper)
        Listen to cluster wide event about changing of max entries setting only.
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception