docs: @Override
      public ServiceInstance queryInstanceByName(String serviceName, ServiceInstanceQuery query)
              throws ServiceException {
          
          ServiceInstanceUtils.validateManagerIsStarted(isStarted);
          ServiceInstanceUtils.validateServiceName(serviceName);
          if (query == null) {
              throw new ServiceException(ErrorCode.SERVICE_DIRECTORY_NULL_ARGUMENT_ERROR,
                      ErrorCode.SERVICE_DIRECTORY_NULL_ARGUMENT_ERROR.getMessageTemplate(),
                      "ServiceInstanceQuery");
          }
          ServiceInstanceLoadBalancer lb = lbManager.getDefaultLoadBalancer();
          return lb.vote(queryInstancesByName(serviceName,query));
      }