Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
com.griddynamics.jagger.engine.e1.scenario.UserTerminationStrategy.UserTerminationStrategy ( ProcessingConfig.Test  testConfig,
ProcessingConfig.Test.Task  taskConfig,
AtomicBoolean  shutdown 
)

References com.griddynamics.jagger.engine.e1.scenario.UserTerminationStrategy.calculateStopSamplesCount().

44  {
45  this.stopTime = (taskConfig.getDuration() == null) ?
46  (testConfig.getDuration() == null ? -1L : System.currentTimeMillis() + Parser.parseTimeMillis(testConfig.getDuration())):
47  System.currentTimeMillis() + Parser.parseTimeMillis(taskConfig.getDuration());
48  this.stopSampleCount = calculateStopSamplesCount(taskConfig);
49  this.shutdown = shutdown;
50  }

Here is the call graph for this function: