Class MacroRenderingMonitor
- java.lang.Object
-
- com.atlassian.diagnostics.internal.InitializingMonitor
-
- com.atlassian.confluence.internal.diagnostics.MacroRenderingMonitor
-
public class MacroRenderingMonitor extends com.atlassian.diagnostics.internal.InitializingMonitor
Macro rendering monitor that usesMonitoringService
.- Since:
- 6.11
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MacroRenderingMonitor.MacroRendering
-
Field Summary
Fields Modifier and Type Field Description static String
METRIC_KEY
-
Constructor Summary
Constructors Constructor Description MacroRenderingMonitor(@NonNull com.atlassian.diagnostics.detail.ThreadDumpProducer threadDumpProducer, @NonNull com.atlassian.confluence.internal.diagnostics.AlertTriggerFactory alertTriggerFactory, @NonNull EventListeningDarkFeatureSetting riskyDiagnosticMonitorsEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getMonitorId()
void
init(com.atlassian.diagnostics.MonitoringService monitoringService)
void
preDestroy()
void
start(MacroRenderingMonitor.MacroRendering macroRendering)
protected void
startMonitorThread(Runnable monitoringRunnable, String threadName)
void
stop(MacroRenderingMonitor.MacroRendering macroRendering)
-
-
-
Field Detail
-
METRIC_KEY
public static final String METRIC_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MacroRenderingMonitor
public MacroRenderingMonitor(@NonNull com.atlassian.diagnostics.detail.ThreadDumpProducer threadDumpProducer, @NonNull com.atlassian.confluence.internal.diagnostics.AlertTriggerFactory alertTriggerFactory, @NonNull EventListeningDarkFeatureSetting riskyDiagnosticMonitorsEnabled)
-
-
Method Detail
-
init
public void init(com.atlassian.diagnostics.MonitoringService monitoringService)
-
getMonitorId
protected String getMonitorId()
-
start
public void start(MacroRenderingMonitor.MacroRendering macroRendering)
-
stop
public void stop(MacroRenderingMonitor.MacroRendering macroRendering)
-
startMonitorThread
protected void startMonitorThread(Runnable monitoringRunnable, String threadName)
-
preDestroy
@PreDestroy public void preDestroy()
-
-