Class HeartbeatEvent

    • Constructor Detail

      • HeartbeatEvent

        public HeartbeatEvent​(ServiceInstance source,
                              HealthStatus status)
        Parameters:
        source - The service instance
        status - The status of health indicator
    • Method Detail

      • getStatus

        public HealthStatus getStatus()
        This method will return the HealthStatus if the server is configured to calculate the status.
        Returns:
        The current health status