public class ExecutionStatisticsBuilder
extends java.lang.Object
This class collects runtime ETL execution statistics, the usage contract is the following:
etlStarted()
invoked on ETL start.
elementStarted(Location,Connection)
before executing an element.
elementExecuted()
or elementFailed()
after executing an element.
etlComplete()
invoked when ETL completes.
Obtain statistics
after ETL completes.
Modifier and Type | Field and Description |
---|---|
protected scriptella.execution.ExecutionStatisticsBuilder.ElementsStack |
executionStack |
Constructor and Description |
---|
ExecutionStatisticsBuilder() |
Modifier and Type | Method and Description |
---|---|
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() |
protected scriptella.execution.ExecutionStatisticsBuilder.ElementsStack executionStack
public void elementStarted(Location loc, Connection connection)
loc
- element location.public void elementExecuted()
public void etlStarted()
public void etlComplete()
public void elementFailed()
public ExecutionStatistics getStatistics()
Copyright © Copyright 2006-2019 The Scriptella Project Team.