|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.execution.JmxEtlManager
public class JmxEtlManager
Implementation of JmxEtlManagerMBean.
| Constructor Summary | |
|---|---|
JmxEtlManager(EtlContext ctx)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels the managed ETL task. |
static int |
cancelAll()
Cancels all in-progress ETL tasks. |
static java.util.Set<javax.management.ObjectName> |
findEtlMBeans()
Find ETL mbeans. |
long |
getExecutedStatementsCount()
Returns the number of executed statements by all connections of the ETL task. |
java.util.Date |
getStartDate()
Returns the date/time when ETL was started. |
double |
getThroughput()
Returns the throughput of the managed ETL task. |
void |
register()
Registers this manager as a JMX mbean. |
static void |
setMBeanServer(javax.management.MBeanServer mbeanServer)
Sets mbean server to use when registering mbeans. |
void |
unregister()
Unregisters this manager from the JMX server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmxEtlManager(EtlContext ctx)
| Method Detail |
|---|
public long getExecutedStatementsCount()
JmxEtlManagerMBean
getExecutedStatementsCount in interface JmxEtlManagerMBeanpublic java.util.Date getStartDate()
JmxEtlManagerMBean
getStartDate in interface JmxEtlManagerMBeanpublic double getThroughput()
JmxEtlManagerMBean
getThroughput in interface JmxEtlManagerMBeanpublic static void setMBeanServer(javax.management.MBeanServer mbeanServer)
By default ManagementFactory.getPlatformMBeanServer() is used.
mbeanServer - mbean server.public void register()
public static int cancelAll()
public static java.util.Set<javax.management.ObjectName> findEtlMBeans()
public void unregister()
This method does not throws any exceptions.
public void cancel()
JmxEtlManagerMBean
cancel in interface JmxEtlManagerMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||