public class ConfluenceMonitoringService
extends com.atlassian.diagnostics.internal.DefaultMonitoringService
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
onApplicationStarted(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event) |
void |
onStart() |
void |
onStop() |
void |
preDestroy() |
createMonitor, createMonitor, destroyMonitor, findAllComponents, findAllIssues, findAllNodesWithAlerts, findAllPluginsWithAlerts, getIssue, getMonitor, internalStreamAlertCounts, isEnabled, streamAlertCounts, streamAlerts, streamAlertsWithElisions, subscribe, unsubscribe
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)
@PostConstruct public void init()
@PreDestroy public void preDestroy()
@EventListener public void onApplicationStarted(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
public void onStart()
onStart
in interface com.atlassian.sal.api.lifecycle.LifecycleAware
onStart
in class com.atlassian.diagnostics.internal.DefaultMonitoringService
public void onStop()
onStop
in interface com.atlassian.sal.api.lifecycle.LifecycleAware
onStop
in class com.atlassian.diagnostics.internal.DefaultMonitoringService
Copyright © 2003–2020 Atlassian. All rights reserved.