public class JmxEtlManager extends java.lang.Object implements JmxEtlManagerMBean
JmxEtlManagerMBean
.Constructor and Description |
---|
JmxEtlManager(EtlContext ctx) |
Modifier and Type | Method and Description |
---|---|
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.
|
javax.management.ObjectName |
getName()
Returns name of the MBean assigned at registration time.
|
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.
|
public JmxEtlManager(EtlContext ctx)
public long getExecutedStatementsCount()
JmxEtlManagerMBean
getExecutedStatementsCount
in interface JmxEtlManagerMBean
public java.util.Date getStartDate()
JmxEtlManagerMBean
getStartDate
in interface JmxEtlManagerMBean
public double getThroughput()
JmxEtlManagerMBean
getThroughput
in interface JmxEtlManagerMBean
public 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
public javax.management.ObjectName getName()
Copyright © Copyright 2006-2019 The Scriptella Project Team.