Package scriptella.execution
Interface JmxEtlManagerMBean
- All Known Implementing Classes:
JmxEtlManager
public interface JmxEtlManagerMBean
JMX MBean interface for ETL task.
This interface specifies attributes and operations available via JMX.
The ETL mbeans have the following naming convention:
scriptella:type=etl,url=<ETL_XML_FILE_URL>[,n=<COLLISION_ID>]
The collision ID is appended only if the same file is executed simultaneously.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancels the managed ETL task.longReturns the number of executed statements by all connections of the ETL task.Returns the date/time when ETL was started.doubleReturns the throughput of the managed ETL task.
-
Method Details
-
getExecutedStatementsCount
long getExecutedStatementsCount()Returns the number of executed statements by all connections of the ETL task.- Returns:
- non-negative number of executed statements.
-
getStartDate
Date getStartDate()Returns the date/time when ETL was started.- Returns:
- date/time.
-
getThroughput
double getThroughput()Returns the throughput of the managed ETL task.- Returns:
- statements/sec throughput or 0 if undefined.
-
cancel
void cancel()Cancels the managed ETL task.
-