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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
accept
void accept(@NonNull ClusterJoinRequest request) throws IOException
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
void connect(@NonNull ClusterJoinRequest request) throws IOException
Attempt to join an existing cluster- Parameters:
request
- the join request- Throws:
IOException
- if the join negotiation failed, or a communication breakdown occurs
-
-