Package com.yahoo.search.cluster
Class MonitorConfiguration
java.lang.Object
com.yahoo.search.cluster.MonitorConfiguration
The configuration of a cluster monitor instance
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the interval between each ping of idle or failing nodes.long
Returns the number of milliseconds a node is allowed to fail before we mark it as not workinglong
Returns the number of milliseconds to attempt to service a request (at different nodes) before giving up.toString()
-
Constructor Details
-
MonitorConfiguration
public MonitorConfiguration()
-
-
Method Details
-
getCheckInterval
public long getCheckInterval()Returns the interval between each ping of idle or failing nodes. Default is 1000 ms. -
getRequestTimeout
public long getRequestTimeout()Returns the number of milliseconds to attempt to service a request (at different nodes) before giving up. Default is 5000 ms. -
getFailLimit
public long getFailLimit()Returns the number of milliseconds a node is allowed to fail before we mark it as not working -
toString
-