Class FaultDetection

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

public abstract class FaultDetection extends Object implements 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<Boolean> CONNECT_ON_NETWORK_DISCONNECT_SETTING
    • PING_INTERVAL_SETTING

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

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

      public static final Setting<Integer> PING_RETRIES_SETTING
    • REGISTER_CONNECTION_LISTENER_SETTING

      public static final Setting<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.core.TimeValue pingInterval
    • pingRetryTimeout

      protected final org.elasticsearch.core.TimeValue pingRetryTimeout
    • pingRetryCount

      protected final int pingRetryCount
  • Constructor Details

  • Method Details