Class JiraGCMonitorConfiguration

java.lang.Object
com.atlassian.diagnostics.internal.platform.monitor.DefaultMonitorConfiguration
com.atlassian.jira.diagnostics.configuration.monitor.JiraMonitorConfiguration
com.atlassian.jira.diagnostics.configuration.monitor.JiraGCMonitorConfiguration
All Implemented Interfaces:
com.atlassian.diagnostics.internal.platform.monitor.gc.GarbageCollectionMonitorConfiguration, com.atlassian.diagnostics.MonitorConfiguration, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class JiraGCMonitorConfiguration extends JiraMonitorConfiguration implements com.atlassian.diagnostics.internal.platform.monitor.gc.GarbageCollectionMonitorConfiguration
  • Constructor Details

    • JiraGCMonitorConfiguration

      public JiraGCMonitorConfiguration(com.atlassian.diagnostics.DiagnosticsConfiguration diagnosticsConfiguration, FeatureManager featureManager, ApplicationProperties properties, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.license.LicenseHandler licenseHandler, com.atlassian.cache.CacheManager cacheManager)
  • Method Details

    • getWarningThreshold

      public double getWarningThreshold()
      Specified by:
      getWarningThreshold in interface com.atlassian.diagnostics.internal.platform.monitor.gc.GarbageCollectionMonitorConfiguration
    • getErrorThreshold

      public double getErrorThreshold()
      Specified by:
      getErrorThreshold in interface com.atlassian.diagnostics.internal.platform.monitor.gc.GarbageCollectionMonitorConfiguration
    • slidingWindowSize

      public Duration slidingWindowSize()
      Specified by:
      slidingWindowSize in interface com.atlassian.diagnostics.internal.platform.monitor.gc.GarbageCollectionMonitorConfiguration
    • garbageCollectionPollerScheduleInterval

      public com.atlassian.diagnostics.internal.platform.poller.ScheduleInterval garbageCollectionPollerScheduleInterval()
      Specified by:
      garbageCollectionPollerScheduleInterval in interface com.atlassian.diagnostics.internal.platform.monitor.gc.GarbageCollectionMonitorConfiguration
    • shouldIncludeTopThreadMemoryAllocationsInDetails

      public boolean shouldIncludeTopThreadMemoryAllocationsInDetails()
      Specified by:
      shouldIncludeTopThreadMemoryAllocationsInDetails in interface com.atlassian.diagnostics.internal.platform.monitor.gc.GarbageCollectionMonitorConfiguration