Class ConfluenceJmxConfigService


  • public class ConfluenceJmxConfigService
    extends Object
    This service takes care of configuring and initializing the JMX configuration across the cluster. Part of that configuration includes application monitoring which is a subset of JMX metrics.
    Since:
    7.17
    • Constructor Detail

      • ConfluenceJmxConfigService

        public ConfluenceJmxConfigService​(com.atlassian.event.api.EventPublisher eventPublisher,
                                          ConfluenceJmxConfig confluenceJmxConfig,
                                          io.micrometer.core.instrument.composite.CompositeMeterRegistry compositeMeterRegistry,
                                          com.atlassian.bandana.BandanaManager bandanaManager,
                                          DarkFeaturesManager darkFeaturesManager,
                                          ClusterManager clusterManager)
    • Method Detail

      • isJmxEnabledOnCluster

        public boolean isJmxEnabledOnCluster()
      • isAppMonitoringEnabled

        public boolean isAppMonitoringEnabled()
      • setAppMonitoringEnabled

        public void setAppMonitoringEnabled​(boolean enableAppMonitoring)
      • setJmxMonitoringEnabled

        public void setJmxMonitoringEnabled​(boolean isJmxEnabled)
      • onApplicationStartedEvent

        @EventListener
        public void onApplicationStartedEvent​(com.atlassian.config.lifecycle.events.ApplicationStartedEvent ignored)
      • onClusteredJmxConfigChangedEvent

        @EventListener
        public void onClusteredJmxConfigChangedEvent​(ClusterEventWrapper clusterEvent)
      • postConstruct

        @PostConstruct
        public void postConstruct()
      • preDestroy

        @PreDestroy
        public void preDestroy()