@InterfaceAudience.Private public class MBeanSourceImpl extends Object implements MBeanSource
Constructor and Description |
---|
MBeanSourceImpl() |
Modifier and Type | Method and Description |
---|---|
ObjectName |
register(String serviceName,
String metricsName,
Object theMbean)
Register an mbean with the underlying metrics system
|
public ObjectName register(String serviceName, String metricsName, Object theMbean)
register
in interface MBeanSource
serviceName
- Metrics service/system namemetricsName
- name of the metrics obejct to exposetheMbean
- the actual MBean