Class Health


  • public final class Health
    extends Object
    The Health wraps information about a service or sub-system.
    • Method Detail

      • getName

        public String getName()
        Gets the health indicator name.
        Returns:
        the name (may be null).
      • getStatus

        public Status getStatus()
        Gets the health indicator status.
        Returns:
        the Status (cannot be null).
      • getDetails

        public Map<String,​Object> getDetails()
        Gets the health indicator details.
        Returns:
        the details or an empty map.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object