232233234235236237238239240241
} if (!roundRobin) { weighted = new WeightedRandomLoadBalancer(distributionRatioList); } else { weighted = new WeightedRoundRobinLoadBalancer(distributionRatioList); } setLoadBalancerType(new LoadBalancerDefinition(weighted)); return this; }
230231232233234235236237238239
225226227228229230231232233234
228229230231232233234235236237
6566676869707172737475
} if (!roundRobin) { loadBalancer = new WeightedRandomLoadBalancer(distributionRatioList); } else { loadBalancer = new WeightedRoundRobinLoadBalancer(distributionRatioList); } } catch (Exception e) { } return loadBalancer;
223224225226227228229230231232