Class ConfluenceDiagnosticsConfiguration
- java.lang.Object
-
- com.atlassian.confluence.internal.diagnostics.ConfluenceDiagnosticsConfiguration
-
- All Implemented Interfaces:
com.atlassian.diagnostics.DiagnosticsConfiguration
public class ConfluenceDiagnosticsConfiguration extends Object implements com.atlassian.diagnostics.DiagnosticsConfiguration
- Since:
- 6.10
-
-
Constructor Summary
Constructors Constructor Description ConfluenceDiagnosticsConfiguration(com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull Duration
getAlertRetentionPeriod()
@NonNull Duration
getAlertTruncationInterval()
@NonNull String
getNodeName()
@NonNull Duration
getThreadDumpProducerCooldown()
void
init()
boolean
isEnabled()
void
onApplicationStarted(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
void
preDestroy()
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
preDestroy
@PreDestroy public void preDestroy()
-
onApplicationStarted
@EventListener public void onApplicationStarted(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
-
getAlertRetentionPeriod
public @NonNull Duration getAlertRetentionPeriod()
- Specified by:
getAlertRetentionPeriod
in interfacecom.atlassian.diagnostics.DiagnosticsConfiguration
-
getAlertTruncationInterval
public @NonNull Duration getAlertTruncationInterval()
- Specified by:
getAlertTruncationInterval
in interfacecom.atlassian.diagnostics.DiagnosticsConfiguration
-
getNodeName
public @NonNull String getNodeName()
- Specified by:
getNodeName
in interfacecom.atlassian.diagnostics.DiagnosticsConfiguration
-
getThreadDumpProducerCooldown
public @NonNull Duration getThreadDumpProducerCooldown()
- Specified by:
getThreadDumpProducerCooldown
in interfacecom.atlassian.diagnostics.DiagnosticsConfiguration
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfacecom.atlassian.diagnostics.DiagnosticsConfiguration
-
-