Class ClickHouseNodes

java.lang.Object
com.clickhouse.client.ClickHouseNodes
All Implemented Interfaces:
ClickHouseNodeManager, Serializable, Function<ClickHouseNodeSelector,ClickHouseNode>
Direct Known Subclasses:
ClickHouseCluster

public class ClickHouseNodes extends Object implements ClickHouseNodeManager
A generic node manager for managing one or more nodes which may or may not belong to same cluster. It maintains two lists - one for healthy nodes and the other for faulty ones. Behind the scene, there's background thread(s) for discovering nodes and health check. Besides, ClickHouseLoadBalancingPolicy is used to pickup available node and moving node between lists according to its status.
See Also: