public class JiraDiagnosticsConfigurationProvider
extends com.atlassian.diagnostics.internal.DefaultDiagnosticsConfiguration
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
JiraDiagnosticsConfigurationProvider(ClusterInfo clusterInfo,
JiraProperties jiraProperties,
FeatureManager featureManager,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
java.time.Duration |
getAlertRetentionPeriod() |
java.time.Duration |
getAlertTruncationInterval() |
String |
getNodeName() |
boolean |
isClustered() |
boolean |
isEnabled() |
void |
onFeatureFlagChange(FeatureEvent event) |
void |
onPluginSystemStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event) |
public JiraDiagnosticsConfigurationProvider(ClusterInfo clusterInfo, JiraProperties jiraProperties, FeatureManager featureManager, com.atlassian.event.api.EventPublisher eventPublisher)
@Nonnull public java.time.Duration getAlertRetentionPeriod()
getAlertRetentionPeriod
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
getAlertRetentionPeriod
in class com.atlassian.diagnostics.internal.DefaultDiagnosticsConfiguration
@Nonnull public java.time.Duration getAlertTruncationInterval()
getAlertTruncationInterval
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
getAlertTruncationInterval
in class com.atlassian.diagnostics.internal.DefaultDiagnosticsConfiguration
@Nonnull public String getNodeName()
getNodeName
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
getNodeName
in class com.atlassian.diagnostics.internal.DefaultDiagnosticsConfiguration
public boolean isClustered()
public boolean isEnabled()
isEnabled
in interface com.atlassian.diagnostics.DiagnosticsConfiguration
isEnabled
in class com.atlassian.diagnostics.internal.DefaultDiagnosticsConfiguration
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
@EventListener public void onPluginSystemStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
@EventListener public void onFeatureFlagChange(FeatureEvent event)
Copyright © 2002-2021 Atlassian. All Rights Reserved.