## Uses of Class
com.taosdata.jdbc.common.Endpoint

Packages that use Endpoint
com.taosdata.jdbc.common
com.taosdata.jdbc.rs
com.taosdata.jdbc.utils
com.taosdata.jdbc.ws
com.taosdata.jdbc.ws.loadbalance

### Uses of Endpoint in com.taosdata.jdbc.common

Methods in com.taosdata.jdbc.common that return types with arguments of type Endpoint
`Set<Endpoint>` Cluster.`getEndpoints()` Gets all nodes in the cluster (unmodifiable).

Constructors in com.taosdata.jdbc.common with parameters of type Endpoint
Constructor and Description
`Cluster(Endpoint... endpoints)` Constructs a Cluster with variable endpoints.

Constructor parameters in com.taosdata.jdbc.common with type arguments of type Endpoint
Constructor and Description
`Cluster(Set<Endpoint> endpoints)` Constructs a Cluster with a set of endpoints.

### Uses of Endpoint in com.taosdata.jdbc.rs

Methods in com.taosdata.jdbc.rs that return types with arguments of type Endpoint
`List<Endpoint>` ConnectionParam.`getEndpoints()`

Method parameters in com.taosdata.jdbc.rs with type arguments of type Endpoint
`void` ConnectionParam.`setEndpoints(List<Endpoint> endpoints)`

Constructor parameters in com.taosdata.jdbc.rs with type arguments of type Endpoint
Constructor and Description
`Builder(List<Endpoint> endpoints)`

### Uses of Endpoint in com.taosdata.jdbc.utils

Methods in com.taosdata.jdbc.utils that return types with arguments of type Endpoint
`static List<Endpoint>` Utils.`getEndpoints(String host, String port)`
`static List<Endpoint>` StringUtils.`parseEndpoints(String endpointsFullStr)`

### Uses of Endpoint in com.taosdata.jdbc.ws

Methods in com.taosdata.jdbc.ws that return Endpoint
`Endpoint` Transport.`getCurrentEndpoint()` Gets the current active endpoint.
`Endpoint` WSConnectionManager.`getCurrentEndpoint()` Gets the current active endpoint.

### Uses of Endpoint in com.taosdata.jdbc.ws.loadbalance

Methods in com.taosdata.jdbc.ws.loadbalance that return Endpoint
`Endpoint` BgHealthCheck.`getEndpoint()`

Methods in com.taosdata.jdbc.ws.loadbalance with parameters of type Endpoint
`void` RebalanceManager.`decrementConnectionCount(Endpoint endpoint)` Decrement the connection count of the specified endpoint Called when a connection is closed to the endpoint
`void` RebalanceManager.`endpointUp(ConnectionParam param, Endpoint endpoint)` Mark endpoint as online and trigger rebalancing if conditions are met
`EndpointInfo` RebalanceManager.`getEndpointInfo(Endpoint endpoint)` Get the metadata (connection count + health status) of the specified endpoint
`boolean` RebalanceManager.`handleRebalancing(ConnectionParam param, Endpoint currentEndpoint)` Handle rebalancing logic for the current connection 1.
`void` RebalanceManager.`incrementConnectionCount(Endpoint endpoint)` Increment the connection count of the specified endpoint Called when a new connection is established to the endpoint
`boolean` RebalanceManager.`isRebalancing(Endpoint endpoint)` Check if the cluster of the specified endpoint is in rebalancing state

Method parameters in com.taosdata.jdbc.ws.loadbalance with type arguments of type Endpoint
`void` RebalanceManager.`connected(List<Endpoint> endpoints, int index)` Mark the specified endpoint as online when connection is successful
`int[]` RebalanceManager.`getConnectCountsAsc(List<Endpoint> endpoints)` Get endpoint indexes sorted by connection count in ascending order Used for load balancing to select the least loaded endpoint
`void` RebalanceManager.`newCluster(List<Endpoint> endpoints)` Register a new cluster and initialize endpoint metadata Idempotent operation: no effect if the cluster is already registered