Package com.linkedin.alpini.router.api
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 Summary
Modifier and TypeMethodDescriptionboolean
isHostHealthy
(H hostName, String partitionName) To check if a host is healthy/responsive.
-
Method Details
-
isHostHealthy
To check if a host is healthy/responsive.- Parameters:
hostName
- the host name, including the service port- Returns:
- the host is healthy or not
-