public class TreeWeightRandomLoadBalancer extends AbstractLoadBalancer<TreeWeightRandomLoadBalancer.TreeChooser>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TreeWeightRandomLoadBalancer.TreeChooser |
LoadBalancer.ChooserONE, ZERO| 构造器和说明 |
|---|
TreeWeightRandomLoadBalancer(ConsistencyRedisServiceDiscovery serviceDiscovery) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected TreeWeightRandomLoadBalancer.TreeChooser |
createChooser(java.util.List<ServiceInstance> serviceInstances) |
chooseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchoosepublic TreeWeightRandomLoadBalancer(ConsistencyRedisServiceDiscovery serviceDiscovery)
protected TreeWeightRandomLoadBalancer.TreeChooser createChooser(java.util.List<ServiceInstance> serviceInstances)