Class MembershipAction

java.lang.Object
org.elasticsearch.discovery.zen.MembershipAction

public class MembershipAction
extends java.lang.Object
  • Field Details

    • DISCOVERY_JOIN_ACTION_NAME

      public static final java.lang.String DISCOVERY_JOIN_ACTION_NAME
      See Also:
      Constant Field Values
    • DISCOVERY_JOIN_VALIDATE_ACTION_NAME

      public static final java.lang.String DISCOVERY_JOIN_VALIDATE_ACTION_NAME
      See Also:
      Constant Field Values
    • DISCOVERY_LEAVE_ACTION_NAME

      public static final java.lang.String DISCOVERY_LEAVE_ACTION_NAME
      See Also:
      Constant Field Values
  • Constructor Details

  • Method Details

    • sendLeaveRequest

      public void sendLeaveRequest​(DiscoveryNode masterNode, DiscoveryNode node)
    • sendLeaveRequestBlocking

      public void sendLeaveRequestBlocking​(DiscoveryNode masterNode, DiscoveryNode node, org.elasticsearch.common.unit.TimeValue timeout)
    • sendJoinRequestBlocking

      public void sendJoinRequestBlocking​(DiscoveryNode masterNode, DiscoveryNode node, org.elasticsearch.common.unit.TimeValue timeout)
    • sendValidateJoinRequestBlocking

      public void sendValidateJoinRequestBlocking​(DiscoveryNode node, ClusterState state, org.elasticsearch.common.unit.TimeValue timeout)
      Validates the join request, throwing a failure if it failed.