Skip to content

Commit 5cb6d07

Browse files
Salvage javadoc for main updateRemoteCluster() method
1 parent ac99eb3 commit 5cb6d07

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

server/src/main/java/org/elasticsearch/transport/RemoteClusterService.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,15 @@ void updateRemoteCluster(String clusterAlias, Settings newSettings, ActionListen
472472
updateRemoteCluster(projectResolver.getProjectId(), clusterAlias, newSettings, false, listener);
473473
}
474474

475+
/**
476+
* Adds, rebuilds, or closes and removes the connection for the specified remote cluster.
477+
*
478+
* @param projectId The project the remote cluster is associated with.
479+
* @param clusterAlias The alias used for the remote cluster being connected.
480+
* @param newSettings The updated settings for the remote connection.
481+
* @param forceRebuild Forces an existing connection to be closed and reconnected even if the connection strategy does not require it.
482+
* @param listener The listener invoked once the configured cluster has been connected.
483+
*/
475484
private synchronized void updateRemoteCluster(
476485
ProjectId projectId,
477486
String clusterAlias,

0 commit comments

Comments
 (0)