Package scriptella.execution
Class ExecutionStatistics.ElementInfo
java.lang.Object
scriptella.execution.ExecutionStatistics.ElementInfo
- Enclosing class:
- ExecutionStatistics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()longReturns total number of executed statements for this element.intdoubleReturns throughput t=statements/workingTimeSeconds.longReturns the total number of nanoseconds spent while executing this element.
-
Constructor Details
-
ElementInfo
public ElementInfo()
-
-
Method Details
-
getSuccessfulExecutionCount
public int getSuccessfulExecutionCount() -
getFailedExecutionCount
public int getFailedExecutionCount() -
getStatementsCount
public long getStatementsCount()Returns total number of executed statements for this element.Note: execution in a loop affects total number, i.e. StatementsCount=loop_count*sql_statements_count
- Returns:
- number of executed statements.
-
getWorkingTime
public long getWorkingTime()Returns the total number of nanoseconds spent while executing this element.- Returns:
- total working time in nanoseconds.
-
getThroughput
public double getThroughput()Returns throughput t=statements/workingTimeSeconds. The throughput has statement/second unit.- Returns:
- statement/second thoughput or -1 if no statements info available or working time is zero.
-
getId
-