Class MonitorConfiguration

java.lang.Object
com.yahoo.search.cluster.MonitorConfiguration

public class MonitorConfiguration extends Object
The configuration of a cluster monitor instance
Author:
bratseth
  • 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

      public String toString()
      Overrides:
      toString in class Object