public interface MBeanSource
Modifier and Type | Method and Description |
---|---|
ObjectName |
register(String serviceName,
String metricsName,
Object theMbean)
Register an mbean with the underlying metrics system
|
ObjectName register(String serviceName, String metricsName, Object theMbean)
serviceName
- Metrics service/system namemetricsName
- name of the metrics object to exposetheMbean
- the actual MBeanCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.