Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
PairSupplier<Q, E> com.griddynamics.jagger.invoker.PairSupplierFactoryLoadBalancer< Q, E >.getPairSupplier ( )
protected
32  {
33  if (endpointProvider == null || queryProvider == null){
34  throw new NullPointerException("Init query and endpoint providers!");
35  }
36 
37  if (pairSupplier == null){
38  pairSupplier = pairSupplierFactory.create(queryProvider, endpointProvider);
39  }
40 
41  return pairSupplier;
42  }