public class ConfluenceDiagnosticsConfiguration extends Object implements com.atlassian.diagnostics.DiagnosticsConfiguration
Constructor and Description |
---|
ConfluenceDiagnosticsConfiguration(com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
@NonNull Duration |
getAlertRetentionPeriod() |
@NonNull Duration |
getAlertTruncationInterval() |
@NonNull String |
getNodeName() |
Duration |
getThreadDumpProducerCooldown() |
void |
init() |
boolean |
isEnabled() |
void |
onApplicationStarted(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event) |
void |
preDestroy() |
public ConfluenceDiagnosticsConfiguration(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 @NonNull Duration getAlertRetentionPeriod()
getAlertRetentionPeriod
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
public @NonNull Duration getAlertTruncationInterval()
getAlertTruncationInterval
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
public @NonNull String getNodeName()
getNodeName
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
@Nonnull public Duration getThreadDumpProducerCooldown()
getThreadDumpProducerCooldown
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
public boolean isEnabled()
isEnabled
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
Copyright © 2003–2019 Atlassian. All rights reserved.