Package org.elasticsearch.discovery.zen
Class MembershipAction
java.lang.Object
org.elasticsearch.discovery.zen.MembershipAction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static class
static class
static interface
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMembershipAction
(TransportService transportService, MembershipAction.MembershipListener listener, Collection<BiConsumer<DiscoveryNode, ClusterState>> joinValidators) -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendJoinRequestBlocking
(DiscoveryNode masterNode, DiscoveryNode node, org.elasticsearch.core.TimeValue timeout) void
sendLeaveRequest
(DiscoveryNode masterNode, DiscoveryNode node) void
sendLeaveRequestBlocking
(DiscoveryNode masterNode, DiscoveryNode node, org.elasticsearch.core.TimeValue timeout) void
sendValidateJoinRequestBlocking
(DiscoveryNode node, ClusterState state, org.elasticsearch.core.TimeValue timeout) Validates the join request, throwing a failure if it failed.
-
Field Details
-
DISCOVERY_JOIN_ACTION_NAME
- See Also:
-
DISCOVERY_JOIN_VALIDATE_ACTION_NAME
- See Also:
-
DISCOVERY_LEAVE_ACTION_NAME
- See Also:
-
-
Constructor Details
-
MembershipAction
public MembershipAction(TransportService transportService, MembershipAction.MembershipListener listener, Collection<BiConsumer<DiscoveryNode, ClusterState>> joinValidators)
-
-
Method Details
-
sendLeaveRequest
-
sendLeaveRequestBlocking
public void sendLeaveRequestBlocking(DiscoveryNode masterNode, DiscoveryNode node, org.elasticsearch.core.TimeValue timeout) -
sendJoinRequestBlocking
public void sendJoinRequestBlocking(DiscoveryNode masterNode, DiscoveryNode node, org.elasticsearch.core.TimeValue timeout) -
sendValidateJoinRequestBlocking
public void sendValidateJoinRequestBlocking(DiscoveryNode node, ClusterState state, org.elasticsearch.core.TimeValue timeout) Validates the join request, throwing a failure if it failed.
-