fix typo in RemoteClusterConnection javadocs

This commit is contained in:
javanna 2017-01-09 18:30:19 +01:00 committed by Luca Cavanna
parent d3d81fcab5
commit 5ff0298576

View File

@ -239,10 +239,10 @@ final class RemoteClusterConnection extends AbstractComponent implements Transpo
/**
* The connect handler manages node discovery and the actual connect to the remote cluster.
* There is at most one connect job running at any time. If such a connect job is triggered
* while another job is running the provided listeners are queued and batched up once the current running job returns.
* while another job is running the provided listeners are queued and batched up until the current running job returns.
*
* The handler has a built-in queue that can hold up to 100 connect attempts and will reject requests once the queue is full.
* In a scenario when a remote cluster becomes unavailable we will queue up immediate request but if we can't connect quick enough
* In a scenario when a remote cluster becomes unavailable we will queue requests up but if we can't connect quick enough
* we will just reject the connect trigger which will lead to failing searches.
*/
private class ConnectHandler implements Closeable {