Class ProfileSession
java.lang.Object
org.flowable.engine.test.profiler.ProfileSession
- Author:
- Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,List<CommandExecutionResult>> protected ThreadLocal<CommandExecutionResult>protected Dateprotected Stringprotected Dateprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommandExecution(String classFqn, CommandExecutionResult commandExecutionResult) voidgetName()longvoidsetCommandExecutions(Map<String, List<CommandExecutionResult>> commandExecutionResults) voidsetCurrentCommandExecution(CommandExecutionResult commandExecutionResult) voidsetEndTime(Date endTimeStamp) voidvoidsetStartTime(Date startTime) voidsetTotalTime(long totalTime)
-
Field Details
-
name
-
startTime
-
endTime
-
totalTime
protected long totalTime -
currentCommandExecution
-
commandExecutionResults
-
-
Constructor Details
-
ProfileSession
-
-
Method Details
-
getCurrentCommandExecution
-
setCurrentCommandExecution
-
clearCurrentCommandExecution
public void clearCurrentCommandExecution() -
addCommandExecution
-
getName
-
setName
-
getStartTime
-
setStartTime
-
getEndTime
-
setEndTime
-
getTotalTime
public long getTotalTime() -
setTotalTime
public void setTotalTime(long totalTime) -
getCommandExecutions
-
setCommandExecutions
-
calculateSummaryStatistics
-