Class ConfigDiagnostics

java.lang.Object
growthbook.sdk.java.diagnostics.model.ConfigDiagnostics

public final class ConfigDiagnostics extends Object
Sanitized SDK configuration metadata.
  • Method Details

    • builder

    • getApiHost

      public String getApiHost()
      Effective API host used by the feature repository.
    • getFeaturesEndpoint

      @Nullable public String getFeaturesEndpoint()
      Feature endpoint with the client key masked.
    • getEventsEndpoint

      @Nullable public String getEventsEndpoint()
      Streaming endpoint with the client key masked.
    • getClientKeyMasked

      @Nullable public String getClientKeyMasked()
      Masked GrowthBook client key.
    • isEncryptionConfigured

      public boolean isEncryptionConfigured()
      Whether encrypted feature payloads are configured. Secret values are never exposed.
    • getSwrTtlSeconds

      public int getSwrTtlSeconds()
      Stale-while-revalidate TTL in seconds.
    • getBackgroundFetchIntervalMillis

      @Nullable public Long getBackgroundFetchIntervalMillis()
      Optional minimum interval between background refreshes, in milliseconds.
    • getRetryMaxAttempts

      public int getRetryMaxAttempts()
      Maximum number of feature fetch attempts, including the first attempt.
    • isEnabled

      public boolean isEnabled()
      Whether evaluations are globally enabled.
    • isQaMode

      public boolean isQaMode()
      Whether QA mode is enabled.
    • isStickyBucketingEnabled

      public boolean isStickyBucketingEnabled()
      Whether a sticky bucketing service is configured.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object