Package com.yahoo.config.provision
Interface HostLivenessTracker
public interface HostLivenessTracker
Instances of this are used to keep track of (notify and query)
which hosts are currently connected to the config system.
- Author:
- bratseth
-
Method Summary
Modifier and TypeMethodDescriptionlastRequestFrom
(String hostname) Returns the epoch timestamp of the last request received from the given hostname, or empty if there is no memory of this host making a requestvoid
receivedRequestFrom
(String hostname) Called each time a config request is received from a client
-
Method Details
-
receivedRequestFrom
Called each time a config request is received from a client -
lastRequestFrom
Returns the epoch timestamp of the last request received from the given hostname, or empty if there is no memory of this host making a request
-