public final class JmxRegistration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JmxRegistration.MBeanType |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerMXBean(Cache<?,?> cache,
Object mxbean,
JmxRegistration.MBeanType type)
Registers the JMX management bean for the cache.
|
static void |
unregisterMXBean(CacheProxy<?,?> cache,
JmxRegistration.MBeanType type)
Unregisters the JMX management bean for the cache.
|
public static void registerMXBean(Cache<?,?> cache, Object mxbean, JmxRegistration.MBeanType type)
cache - the cache to registermxbean - the management beantype - the mxbean typepublic static void unregisterMXBean(CacheProxy<?,?> cache, JmxRegistration.MBeanType type)
cache - the cache to unregistertype - the mxbean type