@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 MBeanSourceImpl()
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 MBeanCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.