package com.codingapi.tx.dubbo.balance; import com.alibaba.dubbo.common.URL; import com.alibaba.dubbo.rpc.Invocation; import com.alibaba.dubbo.rpc.Invoker; import com.alibaba.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance; import java.util.List; /** * create by lorne on 2017/11/29 */ public class LeastActiveLoadBalanceProxy extends LeastActiveLoadBalance{ private LCNBalanceProxy lcnBalanceProxy = new LCNBalanceProxy(); @Override public Invoker select(List> invokers, URL url, Invocation invocation) { return lcnBalanceProxy.proxy(invokers,super.select(invokers, url, invocation)); } }