public class PerfTestPass extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
completed |
protected AtomicLong |
completedRuns |
protected long |
endTime |
protected static IdGenerator |
idGenerator |
protected int |
numberOfThreads |
protected PerfTestResult |
result |
protected Map<String,PerfTestRun> |
runs |
protected long |
startTime |
Constructor and Description |
---|
PerfTestPass(int numberOfThreads) |
Modifier and Type | Method and Description |
---|---|
long |
completeRun() |
void |
createRuns(PerfTestRunner runner,
PerfTestStep firstStep,
int numberOfRuns) |
void |
endPass() |
AtomicLong |
getCompletedRuns() |
long |
getEndTime() |
int |
getNumberOfThreads() |
PerfTestResult |
getResult() |
PerfTestRun |
getRun(String runId) |
Map<String,PerfTestRun> |
getRuns() |
long |
getStartTime() |
boolean |
isCompleted() |
void |
logActivityResult(String identifier,
List<ActivityPerfTestResult> results) |
void |
logStepResult(PerfTestStep currentStep,
Object stepResult) |
void |
startPass() |
protected static final IdGenerator idGenerator
protected int numberOfThreads
protected AtomicLong completedRuns
protected PerfTestResult result
protected boolean completed
protected Map<String,PerfTestRun> runs
protected long startTime
protected long endTime
public void createRuns(PerfTestRunner runner, PerfTestStep firstStep, int numberOfRuns)
public int getNumberOfThreads()
public AtomicLong getCompletedRuns()
public PerfTestResult getResult()
public boolean isCompleted()
public Map<String,PerfTestRun> getRuns()
public long getStartTime()
public long getEndTime()
public void startPass()
public long completeRun()
public void endPass()
public void logStepResult(PerfTestStep currentStep, Object stepResult)
public void logActivityResult(String identifier, List<ActivityPerfTestResult> results)
public PerfTestRun getRun(String runId)
Copyright © 2017. All rights reserved.