@InterfaceAudience.Public @InterfaceStability.Stable public class MBeans extends Object
register(String, String, Object)
Constructor and Description |
---|
MBeans() |
Modifier and Type | Method and Description |
---|---|
static ObjectName |
register(String serviceName,
String nameName,
Object theMbean)
Register the MBean using our standard MBeanName format
"hadoop:service=
|
static void |
unregister(ObjectName mbeanName) |
public MBeans()
public static ObjectName register(String serviceName, String nameName, Object theMbean)
serviceName
- nameName
- theMbean
- - the MBean to registerpublic static void unregister(ObjectName mbeanName)
Copyright © 2015 Apache Software Foundation. All rights reserved.