Returns an iterator over pairs.
- Author
- Grid Dynamics
- Details:
Scenario take the next pair of queries and endpoints and try to execute invocation with this data
- Returns
- iterator over pairs
Implements com.griddynamics.jagger.invoker.LoadBalancer< Q, E >.
33 return new AbstractIterator<Pair<Q,E>> () {
36 private int size = pairs.size();
37 private int index = 0;
40 protected Pair<Q, E> computeNext() {
44 return pairs.get(index++);
48 public String toString() {
49 return "SimpleCircularLoadBalancer iterator";