254255256257258259260261
* Uses random load balancer * * @return the builder */ public LoadBalanceDefinition random() { setLoadBalancerType(new LoadBalancerDefinition(new RandomLoadBalancer())); return this; }
145146147148149150151152
loadBalancerType = new LoadBalancerType(new RoundRobinLoadBalancer()); return this; } public LoadBalanceType random() { loadBalancerType = new LoadBalancerType(new RandomLoadBalancer()); return this; }
252253254255256257258259
194195196197198199200201
/** * Uses random load balancer * @return the builder */ public LoadBalanceDefinition random() { loadBalancerType = new LoadBalancerDefinition(new RandomLoadBalancer()); return this; }
246247248249250251252253
/** * Uses random load balancer * @return the builder */ public LoadBalanceDefinition random() { setLoadBalancerType(new LoadBalancerDefinition(new RandomLoadBalancer())); return this; }
119120121122123124125126
196197198199200201202203