Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
Builder com.griddynamics.jagger.user.test.configurations.load.JLoadProfileTps.Builder.withMaxLoadThreads ( long  maxLoadThreads)

Optional: Max load threads.

Default is 500.

Parameters
maxLoadThreadsThe maximum number of threads, which Jagger engine can create to provide the requested load

Definition at line 84 of file JLoadProfileTps.java.

84  {
85  if (maxLoadThreads <= 0) {
86  throw new IllegalArgumentException(String.format("The maximum number of threads must be > 0. Provided value is %s", maxLoadThreads));
87  }
88  this.maxLoadThreads = maxLoadThreads;
89  return this;
90  }