Class CommandStats
- java.lang.Object
-
- org.activiti.engine.test.profiler.CommandStats
-
public class CommandStats extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Long>commandExecutionTimingsprotected List<Long>databaseTimingsprotected Map<String,Long>dbDeletesprotected Map<String,Long>dbInsertsprotected Map<String,Long>dbSelectsprotected Map<String,Long>dbUpdatesprotected longgetTotalCommandTime
-
Constructor Summary
Constructors Constructor Description CommandStats(List<CommandExecutionResult> executions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddToDbOperation(Map<String,Long> executionMap, Map<String,Long> globalMap)doublegetAverageDatabaseExecutionTime()doublegetAverageDatabaseExecutionTimePercentage()doublegetAverageExecutionTime()longgetCount()Map<String,Long>getDbDeletes()Map<String,Long>getDbInserts()Map<String,Long>getDbSelects()Map<String,Long>getDbUpdates()longgetGetTotalCommandTime()voidsetDbDeletes(Map<String,Long> dbDeletes)voidsetDbInserts(Map<String,Long> dbInserts)voidsetDbSelects(Map<String,Long> dbSelects)voidsetDbUpdates(Map<String,Long> dbUpdates)
-
-
-
Constructor Detail
-
CommandStats
public CommandStats(List<CommandExecutionResult> executions)
-
-
Method Detail
-
addToDbOperation
protected void addToDbOperation(Map<String,Long> executionMap, Map<String,Long> globalMap)
-
getCount
public long getCount()
-
getGetTotalCommandTime
public long getGetTotalCommandTime()
-
getAverageExecutionTime
public double getAverageExecutionTime()
-
getAverageDatabaseExecutionTimePercentage
public double getAverageDatabaseExecutionTimePercentage()
-
getAverageDatabaseExecutionTime
public double getAverageDatabaseExecutionTime()
-
-