public class PerfTestExecution
Represents the execution state of a particular performance test
| Constructor and Description |
|---|
PerfTestExecution(PerfTestConfiguration conf,
java.util.Map<java.lang.String,java.lang.Object> executionParams,
long startTime,
java.util.Map<java.lang.Long,cz.encircled.jput.model.ExecutionRun> executionResult,
java.util.List<cz.encircled.jput.model.PerfConstraintViolation> violations)
Represents the execution state of a particular performance test
|
| Modifier and Type | Method and Description |
|---|---|
PerfTestConfiguration |
component1()
Configuration used for this execution
|
java.util.Map<java.lang.String,java.lang.Object> |
component2()
Parameters related to the global execution
|
long |
component3()
Start time of this execution in nanoseconds
|
java.util.Map<java.lang.Long,cz.encircled.jput.model.ExecutionRun> |
component4()
Repeat number to its execution
|
java.util.List<cz.encircled.jput.model.PerfConstraintViolation> |
component5()
Validation result is set after executions
|
PerfTestExecution |
copy(PerfTestConfiguration conf,
java.util.Map<java.lang.String,java.lang.Object> executionParams,
long startTime,
java.util.Map<java.lang.Long,cz.encircled.jput.model.ExecutionRun> executionResult,
java.util.List<cz.encircled.jput.model.PerfConstraintViolation> violations)
Represents the execution state of a particular performance test
|
boolean |
equals(java.lang.Object p) |
int |
exceptionsCount()
Count of repeats which finished with an exception
|
long |
executionPercentile(double rank) |
PerfTestConfiguration |
getConf()
Configuration used for this execution
|
ExecutionRun |
getCurrentRun() |
java.util.List<java.lang.Long> |
getElapsedTimes()
List of elapsed times of all repeats
|
long |
getExecutionAvg() |
long |
getExecutionMax() |
java.util.Map<java.lang.String,java.lang.Object> |
getExecutionParams()
Parameters related to the global execution
|
java.util.Map<java.lang.Long,cz.encircled.jput.model.ExecutionRun> |
getExecutionResult()
Repeat number to its execution
|
long |
getStartTime()
Start time of this execution in nanoseconds
|
java.util.List<cz.encircled.jput.model.PerfConstraintViolation> |
getViolations()
Validation result is set after executions
|
java.util.List<java.lang.String> |
getViolationsErrorMessage()
Build error messages from violations
|
int |
hashCode() |
void |
resetCurrentExecutionStartTime() |
ExecutionRun |
startNextExecution()
Starts new execution, returns start time (nanoseconds)
|
java.util.List<cz.encircled.jput.model.ExecutionRun> |
successResults()
Only success executionResult
|
java.lang.String |
toString() |
public PerfTestExecution(PerfTestConfiguration conf, java.util.Map<java.lang.String,java.lang.Object> executionParams, long startTime, java.util.Map<java.lang.Long,cz.encircled.jput.model.ExecutionRun> executionResult, java.util.List<cz.encircled.jput.model.PerfConstraintViolation> violations)
Represents the execution state of a particular performance test
conf - Configuration used for this executionexecutionParams - Parameters related to the global executionstartTime - Start time of this execution in nanosecondsexecutionResult - Repeat number to its executionviolations - Validation result is set after executionspublic java.util.List<java.lang.String> getViolationsErrorMessage()
Build error messages from violations
public long getExecutionAvg()
public long getExecutionMax()
public long executionPercentile(double rank)
public java.util.List<cz.encircled.jput.model.ExecutionRun> successResults()
Only success executionResult
public int exceptionsCount()
Count of repeats which finished with an exception
public java.util.List<java.lang.Long> getElapsedTimes()
List of elapsed times of all repeats
public ExecutionRun startNextExecution()
Starts new execution, returns start time (nanoseconds)
public void resetCurrentExecutionStartTime()
public ExecutionRun getCurrentRun()
public PerfTestConfiguration getConf()
Configuration used for this execution
public java.util.Map<java.lang.String,java.lang.Object> getExecutionParams()
Parameters related to the global execution
public long getStartTime()
Start time of this execution in nanoseconds
public java.util.Map<java.lang.Long,cz.encircled.jput.model.ExecutionRun> getExecutionResult()
Repeat number to its execution
public java.util.List<cz.encircled.jput.model.PerfConstraintViolation> getViolations()
Validation result is set after executions
public PerfTestConfiguration component1()
Configuration used for this execution
public java.util.Map<java.lang.String,java.lang.Object> component2()
Parameters related to the global execution
public long component3()
Start time of this execution in nanoseconds
public java.util.Map<java.lang.Long,cz.encircled.jput.model.ExecutionRun> component4()
Repeat number to its execution
public java.util.List<cz.encircled.jput.model.PerfConstraintViolation> component5()
Validation result is set after executions
public PerfTestExecution copy(PerfTestConfiguration conf, java.util.Map<java.lang.String,java.lang.Object> executionParams, long startTime, java.util.Map<java.lang.Long,cz.encircled.jput.model.ExecutionRun> executionResult, java.util.List<cz.encircled.jput.model.PerfConstraintViolation> violations)
Represents the execution state of a particular performance test
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)