Class PerformanceLoggingServiceManager

java.lang.Object
com.atlassian.jira.diagnostics.perflog.PerformanceLoggingServiceManager
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

@Component public class PerformanceLoggingServiceManager extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
This is the class that brings up the periodic data collection and logging logic It's build on service abstraction from Guava library see https://github.com/google/guava/wiki/ServiceExplained
  • Field Details

  • Constructor Details

    • PerformanceLoggingServiceManager

      @Autowired public PerformanceLoggingServiceManager(com.atlassian.event.api.EventPublisher eventPublisher, List<com.google.common.util.concurrent.Service> serviceList)
  • Method Details

    • afterPropertiesSet

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

      public void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
    • onPluginDisabled

      @EventListener public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisablingEvent pluginDisabledEvent)
    • pluginEnabled

      @EventListener public void pluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)