Class HealthDetails

java.lang.Object
com.kingsrook.qqq.backend.core.health.HealthDetails

public class HealthDetails extends Object
Flat typed details. The returned map is immutable; all writes are sanitized.
  • Constructor Details

    • HealthDetails

      public HealthDetails()
  • Method Details

    • withValue

      public HealthDetails withValue(String key, Object value)
      Add one safe scalar. Forbidden keys retain only a redaction marker.
    • getValues

      public Map<String,Object> getValues()
      Immutable view prevents bypassing type checks and redaction.
    • toJson

      public String toJson()
      Emit complete JSON within a 4 KiB UTF-8 budget, dropping trailing details.