public class ModuleMetricsHandler extends AbstractModuleMetricsHandler
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
MBEAN_NAME |
static int |
MODULE_METRICS_JMX_PORT |
startTime, visitorList
限定符和类型 | 方法和说明 |
---|---|
javax.management.MBeanServerConnection |
connect() |
javax.management.MBeanServerConnection |
getConnection() |
static ModuleMetricsHandler |
getInstance() |
java.util.concurrent.CountDownLatch |
getLatch() |
java.util.List<ModuleMetricsVisitor> |
getModuleMetricsVisitor() |
void |
setLatch(java.util.concurrent.CountDownLatch latch) |
void |
start() |
void |
stop() |
protected ModuleMetricsVisitor |
visitCriticalSection(java.lang.String moduleName,
java.lang.String methodName) |
addModuleMetricsVisitor, enter, exit, getExecutor, getNotificationInfo, getStartTime, setExecutor, visit
public static final java.lang.String MBEAN_NAME
public static final int MODULE_METRICS_JMX_PORT
public static ModuleMetricsHandler getInstance()
public java.util.List<ModuleMetricsVisitor> getModuleMetricsVisitor()
protected ModuleMetricsVisitor visitCriticalSection(java.lang.String moduleName, java.lang.String methodName)
public void start()
public void stop()
public javax.management.MBeanServerConnection connect()
public javax.management.MBeanServerConnection getConnection()
public java.util.concurrent.CountDownLatch getLatch()
public void setLatch(java.util.concurrent.CountDownLatch latch)