Class Diagnostics

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

public final class Diagnostics extends Object
Read-only snapshot of the current SDK state.
  • Method Details

    • toJson

      public String toJson()
      Serializes this SDK-produced diagnostics snapshot as JSON for support/debugging workflows.
    • builder

      public static Diagnostics.DiagnosticsBuilder builder()
    • getGeneratedAtMillis

      public long getGeneratedAtMillis()
      Epoch-millis timestamp when this diagnostics snapshot was generated.
    • getSdk

      public SdkDiagnostics getSdk()
      SDK build metadata.
    • getHealth

      public HealthDiagnostics getHealth()
      High-level health summary with actionable issues.
    • getConfig

      public ConfigDiagnostics getConfig()
      Sanitized configuration metadata.
    • getClient

      public ClientDiagnostics getClient()
      Client lifecycle metadata.
    • getFeatures

      public FeatureDiagnostics getFeatures()
      Current feature data metadata.
    • getRefresh

      public RefreshDiagnostics getRefresh()
      Feature refresh metadata.
    • getCache

      public CacheDiagnostics getCache()
      Feature cache metadata.
    • getStreaming

      public StreamingDiagnostics getStreaming()
      Streaming refresh metadata.
    • getRemoteEval

      public RemoteEvalDiagnostics getRemoteEval()
      Remote-eval metadata.
    • 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