public ServiceQueryRRLoadBalancer getServiceQueryRRLoadBalancer ( String serviceName , ServiceInstanceQuery query ) { for ( ServiceQueryRRLoadBalancer lb : svcQueryLBList ) { if ( lb . getServiceName ( ) . equals ( serviceName ) && lb . getServiceInstanceQuery ( ) . equals ( query ) ) { return lb ; } } ServiceQueryRRLoadBalancer lb = new ServiceQueryRRLoadBalancer ( lookupService , serviceName , query ) ; svcQueryLBList . add ( lb ) ; return lb ; }
Get the ServiceQueryRRLoadBalancer .