Package org.apache.gravitino.dto
Class HealthCheckDTO
java.lang.Object
org.apache.gravitino.dto.HealthCheckDTO
Represents the result of a single health check (e.g. entity store, HTTP server).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumStatus of a health check, matching MicroProfile Health vocabulary. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for HealthCheckDTO.HealthCheckDTO(String name, HealthCheckDTO.Status status, Map<String, String> details) Constructor for HealthCheckDTO. -
Method Summary
-
Constructor Details
-
HealthCheckDTO
Constructor for HealthCheckDTO.- Parameters:
name- the name of the check (e.g. "entityStore")status- the status of the checkdetails- optional diagnostic details; null is coerced to empty map
-
HealthCheckDTO
public HealthCheckDTO()Default constructor for HealthCheckDTO. (Used for Jackson deserialization.)
-