Class CacheStatisticsMonitor

java.lang.Object
com.atlassian.jira.cache.monitor.CacheStatisticsMonitor
All Implemented Interfaces:
Startable, com.atlassian.scheduler.JobRunner

public class CacheStatisticsMonitor extends Object implements Startable, com.atlassian.scheduler.JobRunner
Sends managed cache statistics to analytics system once a day
Since:
v6.5
  • Field Details

    • JIRA_CACHE_INSTRUMENTATION

      public static final String JIRA_CACHE_INSTRUMENTATION
      See Also:
    • RUN_INTERVAL

      protected static final long RUN_INTERVAL
  • Constructor Details

    • CacheStatisticsMonitor

      public CacheStatisticsMonitor(com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventPublisher eventPublisher, InstrumentationListenerManager instrumentationListenerManager, JiraProperties jiraSystemProperties)
  • Method Details

    • runJob

      @Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest jobRunnerRequest)
      Specified by:
      runJob in interface com.atlassian.scheduler.JobRunner
    • start

      public void start() throws Exception
      Description copied from interface: Startable
      This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
      Specified by:
      start in interface Startable
      Throws:
      Exception - Allows implementations to throw an Exception.