|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.execution.ExecutionStatisticsBuilder
public class ExecutionStatisticsBuilder
A builder for execution statistics.
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.
| 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 |
|---|
protected scriptella.execution.ExecutionStatisticsBuilder.ElementsStack executionStack
| Constructor Detail |
|---|
public ExecutionStatisticsBuilder()
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||