Class ConfluenceMonitoringService
- java.lang.Object
-
- com.atlassian.diagnostics.internal.DefaultMonitoringService
-
- com.atlassian.confluence.internal.diagnostics.ConfluenceMonitoringService
-
- All Implemented Interfaces:
com.atlassian.diagnostics.internal.InternalMonitoringService
,com.atlassian.diagnostics.internal.IssueSupplier
,com.atlassian.diagnostics.MonitoringService
,com.atlassian.sal.api.lifecycle.LifecycleAware
public class ConfluenceMonitoringService extends com.atlassian.diagnostics.internal.DefaultMonitoringService
- Since:
- 6.11.0
-
-
Constructor Summary
Constructors Constructor Description ConfluenceMonitoringService(com.atlassian.diagnostics.DiagnosticsConfiguration configuration, com.atlassian.diagnostics.internal.dao.AlertEntityDao dao, com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.diagnostics.JsonMapper jsonMapper, com.atlassian.sal.api.permission.PermissionEnforcer permissionEnforcer, com.atlassian.diagnostics.internal.PluginHelper pluginHelper, com.atlassian.diagnostics.internal.AlertPublisher publisher, com.atlassian.scheduler.SchedulerService schedulerService, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
void
onApplicationStarted(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
void
onStart()
void
onStop()
void
preDestroy()
-
Methods inherited from class com.atlassian.diagnostics.internal.DefaultMonitoringService
createMonitor, createMonitor, destroyMonitor, findAllComponents, findAllIssues, findAllNodesWithAlerts, findAllPluginsWithAlerts, getIssue, getMonitor, internalStreamAlertCounts, isEnabled, streamAlertCounts, streamAlerts, streamAlertsWithElisions, subscribe, unsubscribe
-
-
-
-
Constructor Detail
-
ConfluenceMonitoringService
public ConfluenceMonitoringService(com.atlassian.diagnostics.DiagnosticsConfiguration configuration, com.atlassian.diagnostics.internal.dao.AlertEntityDao dao, com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.diagnostics.JsonMapper jsonMapper, com.atlassian.sal.api.permission.PermissionEnforcer permissionEnforcer, com.atlassian.diagnostics.internal.PluginHelper pluginHelper, com.atlassian.diagnostics.internal.AlertPublisher publisher, com.atlassian.scheduler.SchedulerService schedulerService, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
preDestroy
@PreDestroy public void preDestroy()
-
onApplicationStarted
@EventListener public void onApplicationStarted(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
-
onStart
public void onStart()
- Specified by:
onStart
in interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
- Overrides:
onStart
in classcom.atlassian.diagnostics.internal.DefaultMonitoringService
-
onStop
public void onStop()
- Specified by:
onStop
in interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
- Overrides:
onStop
in classcom.atlassian.diagnostics.internal.DefaultMonitoringService
-
-