public interface HostListProvider
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy this provider.
|
java.util.List<Host> |
getHostList() |
void |
runHealthCheck(Host host)
If this completes without throwing an exception, the host is considered healthy
(
host.setHealthy(true) is called). |
java.util.List<Host> getHostList()
void runHealthCheck(Host host)
host.setHealthy(true) is called). Otherwise, the host is considered unhealthy/down
(host.setHealthy(false) is called).void destroy()
The provider must not be reused after this method is called otherwise undefined behavior will occur.