Class NodeConnectionsService

  • All Implemented Interfaces:, java.lang.AutoCloseable, LifecycleComponent, Releasable

    public class NodeConnectionsService
    extends AbstractLifecycleComponent
    This component is responsible for connecting to nodes once they are added to the cluster state, and disconnect when they are removed. Also, it periodically checks that all connections are still open and if needed restores them. Note that this component is *not* responsible for removing nodes from the cluster if they disconnect / do not respond to pings. This is done by NodesFaultDetection. Master fault detection is done by MasterFaultDetection.