@SpiMeta(name="randomLcn")
@Activation(key={"service","referer"})
public class RandomLoadBalanceProxy
extends com.weibo.api.motan.cluster.loadbalance.RandomLoadBalance
随机,按权重设置随机概率
构造器和说明 |
---|
RandomLoadBalanceProxy() |
限定符和类型 | 方法和说明 |
---|---|
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.RandomLoadBalance
protected void doSelectToHolder(com.weibo.api.motan.rpc.Request request, List refersHolder)
doSelectToHolder
在类中 com.weibo.api.motan.cluster.loadbalance.RandomLoadBalance
Copyright © 2020. All rights reserved.