Class CachedIpdState
java.lang.Object
com.atlassian.diagnostics.ipd.api.CachedIpdState
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final AtomicBooleanprotected final AtomicBooleanprotected final AtomicBoolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanabstract voidRefresh the state of the feature flags.
-
Field Details
-
isIpdFeatureFlagEnabled
-
isWipIpdFeatureFlagEnabled
-
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 variablesisIpdFeatureFlagEnabled,isWipIpdFeatureFlagEnabled,isIpdExtraLoggingEnabledFor correct IPD state make sure the product is invoking this method in regular interval.
-