Scriptella execution model relies on a standard Java
Thread.interrupt mechanism.
To interrupt the ETL execution invoke
Thread.interrupt on a thread
which
EtlExecutor.execute() started ETL operation. As a part of interruption process
the engine tries to roll back all changes made during the ETL operation.
For convenience EtlExecutor implements
Runnable and
java.util.concurrent.Callable .
This feature simplifies integration of Scriptella executors with
java.util.concurrent.Executors or other systems like Spring/Quartz etc. It also minimizes application code dependency on Scriptella.
author: Fyodor Kupolov version: 1.0
Executes ETL based on a specified configuration.
Parameters: indicator - progress indicator to use. execution statistics for ETL execution. throws: EtlExecutorException - if ETL fails.
Returns true if monitoring/management via JMX is enabled.
If jmxEnabled=true the executor registers MBeans for executed ETL files.
The object names of the mbeans have the following form:
scriptella: type=etl,url="ETL_FILE_URL"
true if monitoring/management via JMX is enabled.
public void setJmxEnabled(boolean jmxEnabled)(Code)
Enables or disables ETL monitoring/management via JMX.
If jmxEnabled=true the executor registers MBeans for executed ETL files.
The object names of the mbeans have the following form:
scriptella: type=etl,url="ETL_FILE_URL" Parameters: jmxEnabled - true if monitoring/management via JMX is enabled. See Also:scriptella.execution.JmxEtlManagerMBean