Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
Builder com.griddynamics.jagger.user.test.configurations.load.JLoadProfileRps.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 96 of file JLoadProfileRps.java.

96  {
97  if (maxLoadThreads <= 0) {
98  throw new IllegalArgumentException(String.format("The maximum number of threads must be > 0. Provided value is %s", maxLoadThreads));
99  }
100  this.maxLoadThreads = maxLoadThreads;
101  return this;
102  }