Class ConfluenceDiagnosticsConfiguration

  • All Implemented Interfaces:
    com.atlassian.diagnostics.DiagnosticsConfiguration

    public class ConfluenceDiagnosticsConfiguration
    extends Object
    implements com.atlassian.diagnostics.DiagnosticsConfiguration
    Since:
    6.10
    • Constructor Detail

      • ConfluenceDiagnosticsConfiguration

        public ConfluenceDiagnosticsConfiguration​(com.atlassian.event.api.EventPublisher eventPublisher)
    • 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 interface com.atlassian.diagnostics.DiagnosticsConfiguration
      • getAlertTruncationInterval

        public @NonNull Duration getAlertTruncationInterval()
        Specified by:
        getAlertTruncationInterval in interface com.atlassian.diagnostics.DiagnosticsConfiguration
      • getNodeName

        public @NonNull String getNodeName()
        Specified by:
        getNodeName in interface com.atlassian.diagnostics.DiagnosticsConfiguration
      • getThreadDumpProducerCooldown

        @Nonnull
        public Duration getThreadDumpProducerCooldown()
        Specified by:
        getThreadDumpProducerCooldown in interface com.atlassian.diagnostics.DiagnosticsConfiguration
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface com.atlassian.diagnostics.DiagnosticsConfiguration