Interface ClusterJoinManager
-
- All Known Implementing Classes:
DefaultClusterJoinManager
public interface ClusterJoinManagerManages the initial establishment of connections between nodes in the cluster- Since:
- 7.17.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(ClusterJoinRequest request)Validate a joining node for the cluster the current node is a part ofvoidconnect(ClusterJoinRequest request)Attempt to join an existing cluster
-
-
-
Method Detail
-
accept
void accept(@Nonnull ClusterJoinRequest request) throws IOExceptionValidate a joining node for the cluster the current node is a part of- Parameters:
request- the join request- Throws:
IOException- if the join negotiation failed, or a communication breakdown occurs
-
connect
void connect(@Nonnull ClusterJoinRequest request) throws IOExceptionAttempt to join an existing cluster- Parameters:
request- the join request- Throws:
IOException- if the join negotiation failed, or a communication breakdown occurs
-
-