public class JmxUtils extends Object
Constructor and Description |
---|
JmxUtils() |
Modifier and Type | Method and Description |
---|---|
static Set<ObjectName> |
getGarbageCollectionMbeans(MBeanServer mBeanServer)
Get a list of the garbage collector mbeans.
|
static void |
registerMbeans()
register all jamon related mbeans
|
static void |
registerMbeans(MBeanServer mBeanServer)
Register all jamon related mbeans with the passed in MBeanServer
|
static void |
unregisterMbeans()
unRegister all jamon related mbeans
|
static void |
unregisterMbeans(MBeanServer mBeanServer)
unRegister all jamon related mbeans
|
public static void registerMbeans()
public static void registerMbeans(MBeanServer mBeanServer)
public static void unregisterMbeans()
public static void unregisterMbeans(MBeanServer mBeanServer)
public static Set<ObjectName> getGarbageCollectionMbeans(MBeanServer mBeanServer) throws Exception
mBeanServer
- Exception
Copyright © 2015. All rights reserved.