scriptella.execution
Class ExecutionStatistics.ElementInfo

java.lang.Object
  extended by scriptella.execution.ExecutionStatistics.ElementInfo
Enclosing class:
ExecutionStatistics

public static class ExecutionStatistics.ElementInfo
extends java.lang.Object


Constructor Summary
ExecutionStatistics.ElementInfo()
           
 
Method Summary
 int getFailedExecutionCount()
           
 java.lang.String getId()
           
 long getStatementsCount()
          Returns total number of executed statements for this element.
 int getSuccessfulExecutionCount()
           
 double getThroughput()
          Returns throughput t=statements/workingTimeSeconds.
 long getWorkingTime()
          Returns the total number of nanoseconds spent while executing this element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionStatistics.ElementInfo

public ExecutionStatistics.ElementInfo()
Method Detail

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.