public class LongRunningTaskMonitor
extends com.atlassian.diagnostics.internal.InitializingMonitor
MonitoringService
.Constructor and Description |
---|
LongRunningTaskMonitor(@NonNull com.atlassian.diagnostics.detail.ThreadDumpProducer threadDumpProducer,
@NonNull com.atlassian.confluence.internal.diagnostics.AlertTriggerFactory alertTriggerFactory,
@NonNull com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
protected String |
getMonitorId() |
void |
init(com.atlassian.diagnostics.MonitoringService monitoringService) |
void |
preDestroy() |
void |
start(com.atlassian.core.task.longrunning.LongRunningTask task) |
protected void |
startMonitorThread(Runnable monitoringRunnable,
String threadName) |
void |
stop(com.atlassian.core.task.longrunning.LongRunningTask task) |
public LongRunningTaskMonitor(@NonNull com.atlassian.diagnostics.detail.ThreadDumpProducer threadDumpProducer, @NonNull com.atlassian.confluence.internal.diagnostics.AlertTriggerFactory alertTriggerFactory, @NonNull com.atlassian.event.api.EventPublisher eventPublisher)
public void init(com.atlassian.diagnostics.MonitoringService monitoringService)
protected String getMonitorId()
public void start(com.atlassian.core.task.longrunning.LongRunningTask task)
public void stop(com.atlassian.core.task.longrunning.LongRunningTask task)
protected void startMonitorThread(Runnable monitoringRunnable, String threadName)
@PreDestroy public void preDestroy()
Copyright © 2003–2020 Atlassian. All rights reserved.