Class HealthResponse

java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.HealthResponse
All Implemented Interfaces:
RESTMessage, RESTResponse

public class HealthResponse extends BaseResponse
Represents a response containing aggregate health status and per-check results.
  • Constructor Details

    • HealthResponse

      public HealthResponse(HealthCheckDTO.Status status, List<HealthCheckDTO> checks)
      Constructor for HealthResponse.
      Parameters:
      status - aggregate health status
      checks - per-check results; null is coerced to empty list
    • HealthResponse

      public HealthResponse()
      Default constructor for HealthResponse. (Used for Jackson deserialization.)
  • Method Details