225226227228229230231
LOG.debug("Removing consumer {}", consumer.getProcessor()); getLoadBalancer().removeProcessor(consumer.getProcessor()); } protected LoadBalancer createLoadBalancer() { return new RoundRobinLoadBalancer(); }
174175176177178179180181
* Uses round robin load balancer * * @return the builder */ public LoadBalanceDefinition roundRobin() { loadBalancerType = new LoadBalancerDefinition(new RoundRobinLoadBalancer()); return this; }
203204205206207208209
started = false; } } protected LoadBalancer createLoadBalancer() { return new RoundRobinLoadBalancer(); }
207208209210211212213
114115116117118119120121
loadBalancerType = new LoadBalancerType(loadBalancer); return this; } public LoadBalanceType roundRobin() { loadBalancerType = new LoadBalancerType(new RoundRobinLoadBalancer()); return this; }
264265266267268269270271
* Uses round robin load balancer * * @return the builder */ public LoadBalanceDefinition roundRobin() { setLoadBalancerType(new LoadBalancerDefinition(new RoundRobinLoadBalancer())); return this; }
209210211212213214215216
123124125126127128129130131
this.jobParameters = jobParameters; } public LoadBalancer getConsumerLoadBalancer() { if (consumerLoadBalancer == null) { consumerLoadBalancer = new RoundRobinLoadBalancer(); } return consumerLoadBalancer; }
243244245246247248249
227228229230231232233
} getLoadBalancer().removeProcessor(consumer.getProcessor()); } protected LoadBalancer createLoadBalancer() { return new RoundRobinLoadBalancer(); }