scriptella.execution
Class ExecutionStatistics.ElementInfo
java.lang.Object
scriptella.execution.ExecutionStatistics.ElementInfo
- Enclosing class:
- ExecutionStatistics
public static class ExecutionStatistics.ElementInfo
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutionStatistics.ElementInfo
public ExecutionStatistics.ElementInfo()
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
public java.lang.String getId()
Copyright © Copyright 2006-2009 The Scriptella Project Team.