Class CachedIpdState

java.lang.Object
com.atlassian.diagnostics.ipd.api.CachedIpdState

public abstract class CachedIpdState extends Object
Cached state of the In Product Diagnostics feature flags. The product should implement this class and update the state of the feature flags in regular intervals.
Since:
5.0.0
  • Field Details

    • isIpdFeatureFlagEnabled

      protected final AtomicBoolean isIpdFeatureFlagEnabled
    • isWipIpdFeatureFlagEnabled

      protected final AtomicBoolean isWipIpdFeatureFlagEnabled
    • isIpdExtraLoggingEnabled

      protected final AtomicBoolean isIpdExtraLoggingEnabled
  • Constructor Details

    • CachedIpdState

      public CachedIpdState()
  • Method Details

    • isIpdEnabled

      public boolean isIpdEnabled()
    • isWipIpdEnabled

      public boolean isWipIpdEnabled()
    • isIpdExtraLoggingEnabled

      public boolean isIpdExtraLoggingEnabled()
    • refreshState

      public abstract void refreshState()
      Refresh the state of the feature flags.

      Implementation details
      Implementation of this method should update the state of feature flags used by IPD. See variables isIpdFeatureFlagEnabled, isWipIpdFeatureFlagEnabled, isIpdExtraLoggingEnabled

      For correct IPD state make sure the product is invoking this method in regular interval.