public interface HostResponseTimeService
| Modifier and Type | Method and Description |
|---|---|
int |
getResponseTime(HostSpec hostSpec)
Return a response time in milliseconds to the host.
|
void |
setHosts(@NonNull java.util.List<HostSpec> hosts)
Provides an updated host list to a service.
|
int getResponseTime(HostSpec hostSpec)
hostSpec - the host detailsvoid setHosts(@NonNull java.util.List<HostSpec> hosts)
hosts - A list of hosts to monitor.