Class ExecutionStatistics.ElementInfo

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

public static class ExecutionStatistics.ElementInfo extends Object
  • 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

      public String getId()