@InterfaceAudience.Public @InterfaceStability.Stable public class MBeans extends Object
register(String, String, Object)
Constructor and Description |
---|
MBeans() |
Modifier and Type | Method and Description |
---|---|
static String |
getMbeanNameName(ObjectName objectName) |
static String |
getMbeanNameService(ObjectName objectName) |
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 String getMbeanNameService(ObjectName objectName)
public static String getMbeanNameName(ObjectName objectName)
public static void unregister(ObjectName mbeanName)
Copyright © 2017 Apache Software Foundation. All rights reserved.