Class FaultDetection

java.lang.Object
org.elasticsearch.discovery.zen.FaultDetection
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable
Direct Known Subclasses:
MasterFaultDetection, NodesFaultDetection

public abstract class FaultDetection
extends java.lang.Object
implements java.io.Closeable
A base class for MasterFaultDetection & NodesFaultDetection, making sure both use the same setting.
  • Field Details

    • CONNECT_ON_NETWORK_DISCONNECT_SETTING

      public static final Setting<java.lang.Boolean> CONNECT_ON_NETWORK_DISCONNECT_SETTING
    • PING_INTERVAL_SETTING

      public static final Setting<org.elasticsearch.common.unit.TimeValue> PING_INTERVAL_SETTING
    • PING_TIMEOUT_SETTING

      public static final Setting<org.elasticsearch.common.unit.TimeValue> PING_TIMEOUT_SETTING
    • PING_RETRIES_SETTING

      public static final Setting<java.lang.Integer> PING_RETRIES_SETTING
    • REGISTER_CONNECTION_LISTENER_SETTING

      public static final Setting<java.lang.Boolean> REGISTER_CONNECTION_LISTENER_SETTING
    • threadPool

      protected final ThreadPool threadPool
    • clusterName

      protected final ClusterName clusterName
    • transportService

      protected final TransportService transportService
    • registerConnectionListener

      protected final boolean registerConnectionListener
    • connectionListener

      protected final org.elasticsearch.discovery.zen.FaultDetection.FDConnectionListener connectionListener
    • connectOnNetworkDisconnect

      protected final boolean connectOnNetworkDisconnect
    • pingInterval

      protected final org.elasticsearch.common.unit.TimeValue pingInterval
    • pingRetryTimeout

      protected final org.elasticsearch.common.unit.TimeValue pingRetryTimeout
    • pingRetryCount

      protected final int pingRetryCount
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable