@SpiMeta(name="roundrobinLcn")
@Activation(key={"service","referer"})
public class RoundRobinLoadBalanceProxy
extends com.weibo.api.motan.cluster.loadbalance.RoundRobinLoadBalance
轮循,按公约后的权重设置轮循比率
构造器和说明 |
---|
RoundRobinLoadBalanceProxy() |
限定符和类型 | 方法和说明 |
---|---|
protected com.weibo.api.motan.rpc.Referer |
doSelect(com.weibo.api.motan.rpc.Request request) |
protected void |
doSelectToHolder(com.weibo.api.motan.rpc.Request request,
List refersHolder) |
protected com.weibo.api.motan.rpc.Referer doSelect(com.weibo.api.motan.rpc.Request request)
doSelect
在类中 com.weibo.api.motan.cluster.loadbalance.RoundRobinLoadBalance
protected void doSelectToHolder(com.weibo.api.motan.rpc.Request request, List refersHolder)
doSelectToHolder
在类中 com.weibo.api.motan.cluster.loadbalance.RoundRobinLoadBalance
Copyright © 2020. All rights reserved.