Interface HostHealthMonitor<H>

  • All Known Implementing Classes:

    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.
        hostName - the host name, including the service port
        the host is healthy or not