Interface ClusterJoinManager
- All Known Implementing Classes:
DefaultClusterJoinManager
public interface ClusterJoinManager
Manages the initial establishment of connections between nodes in the cluster
- Since:
- 7.17.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(@NonNull ClusterJoinRequest request) Validate a joining node for the cluster the current node is a part ofvoid
connect
(@NonNull ClusterJoinRequest request) Attempt to join an existing cluster
-
Method Details
-
accept
Validate 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
Attempt to join an existing cluster- Parameters:
request
- the join request- Throws:
IOException
- if the join negotiation failed, or a communication breakdown occurs
-