Package com.atlassian.jira.cache.monitor
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCacheStatisticsMonitor
(com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventPublisher eventPublisher, InstrumentationListenerManager instrumentationListenerManager, JiraProperties jiraSystemProperties) -
Method Summary
-
Field Details
-
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 interfacecom.atlassian.scheduler.JobRunner
-
start
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.
-