code: public void setServices(List<ServiceInfo> services) {
          if (services == null || services.size() == 0) {
              throw new IllegalArgumentException("services is empty!");
          }
          this.services = services;
          serviceReset = true;
      }
docs: set new services for this pool
  
  @param services