Interface HostHealthMonitor<H>

  • All Known Implementing Classes:
    VeniceHostHealth

    public interface HostHealthMonitor<H>
    This is an interface for monitoring the healthiness of storage nodes. If a storage host is not responsive, the router may re-route requests to other hosts according to the routing policy.
    • Method Detail

      • isHostHealthy

        boolean isHostHealthy​(@Nonnull
                              H hostName,
                              java.lang.String partitionName)
        To check if a host is healthy/responsive.
        Parameters:
        hostName - the host name, including the service port
        Returns:
        the host is healthy or not