| 程序包 | 说明 |
|---|---|
| io.manbang.ebatis.core.cluster |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractWeightedCluster
权重集群
|
| 限定符和类型 | 方法和说明 |
|---|---|
WeightedCluster[] |
WeightedClusterRouter.getWeightedClusters()
获取带权重的集群
|
static WeightedCluster |
Cluster.weighted(int weight,
org.apache.http.HttpHost... hosts)
带权集群
|
static WeightedCluster |
Cluster.weighted(int weight,
org.apache.http.HttpHost[] hosts,
Credentials credentials)
带权集群
|
static WeightedCluster |
Cluster.weighted(int weight,
org.apache.http.HttpHost[] hosts,
String username,
String password)
带权集群
|
static WeightedCluster |
Cluster.weighted(int weight,
String host,
int port)
带权集群
|
static WeightedCluster |
Cluster.weighted(int weight,
String host,
int port,
Credentials credentials)
带权集群
|
static WeightedCluster |
Cluster.weighted(int weight,
String host,
int port,
String username,
String password)
带权集群
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract Cluster |
AbstractWeightedClusterLoadBalancer.doChoose(WeightedCluster[] clusters)
从带权集群中选择选择一集群
|
static WeightedClusterRouter |
ClusterRouter.weighted(WeightedCluster... clusters)
权重路由器
|
Copyright © 2020. All rights reserved.