scriptella.execution
Class ExecutionStatisticsBuilder

java.lang.Object
  extended by scriptella.execution.ExecutionStatisticsBuilder
Direct Known Subclasses:
SilentExecutionStatisticsBuilder

public class ExecutionStatisticsBuilder
extends java.lang.Object

A builder for execution statistics.

This class collects runtime ETL execution statistics, the usage contract is the following:

Notes:

Version:
1.0
Author:
Fyodor Kupolov

Field Summary
protected  scriptella.execution.ExecutionStatisticsBuilder.ElementsStack executionStack
           
 
Constructor Summary
ExecutionStatisticsBuilder()
           
 
Method Summary
 void elementExecuted()
          This method is called when element has been executed.
 void elementFailed()
           
 void elementStarted(Location loc, Connection connection)
          Called when new element execution started.
 void etlComplete()
          Invoked on ETL completion.
 void etlStarted()
          Invoked on ETL start
 ExecutionStatistics getStatistics()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

executionStack

protected scriptella.execution.ExecutionStatisticsBuilder.ElementsStack executionStack
Constructor Detail

ExecutionStatisticsBuilder

public ExecutionStatisticsBuilder()
Method Detail

elementStarted

public void elementStarted(Location loc,
                           Connection connection)
Called when new element execution started.

Parameters:
loc - element location.

elementExecuted

public void elementExecuted()
This method is called when element has been executed.


etlStarted

public void etlStarted()
Invoked on ETL start


etlComplete

public void etlComplete()
Invoked on ETL completion.


elementFailed

public void elementFailed()

getStatistics

public ExecutionStatistics getStatistics()


Copyright © Copyright 2006-2009 The Scriptella Project Team.