Class StoreHeartbeatService

java.lang.Object
org.elasticsearch.cluster.coordination.stateless.StoreHeartbeatService
All Implemented Interfaces:
LeaderHeartbeatService

public class StoreHeartbeatService extends Object implements LeaderHeartbeatService
  • Field Details

    • HEARTBEAT_FREQUENCY

      public static final Setting<TimeValue> HEARTBEAT_FREQUENCY
      How frequently the master will write a heartbeat to the blob store. Indicates that the master node is still alive, preventing other nodes from running for election.
    • MAX_MISSED_HEARTBEATS

      public static final Setting<Integer> MAX_MISSED_HEARTBEATS
      Multiplied against HEARTBEAT_FREQUENCY to determine how long to wait for the last master heartbeat to fade before a node can run for election. Defaults to 2, for a waiting period of 2x the HEARTBEAT_FREQUENCY. Reducing to 1 may get pretty racy with the heartbeat frequency, and isn't advised.
  • Constructor Details

  • Method Details