Class JmxRegistration
java.lang.Object
com.github.benmanes.caffeine.jcache.management.JmxRegistration
Jmx cache utilities.
- Author:
- ben.manes@gmail.com (Ben Manes)
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterMXBean(javax.cache.Cache<?, ?> cache, Object mxbean, JmxRegistration.MBeanType type) Registers the JMX management bean for the cache.static voidunregisterMXBean(CacheProxy<?, ?> cache, JmxRegistration.MBeanType type) Unregisters the JMX management bean for the cache.
-
Method Details
-
registerMXBean
public static void registerMXBean(javax.cache.Cache<?, ?> cache, Object mxbean, JmxRegistration.MBeanType type) Registers the JMX management bean for the cache.- Parameters:
cache- the cache to registermxbean- the management beantype- the mxbean type
-
unregisterMXBean
Unregisters the JMX management bean for the cache.- Parameters:
cache- the cache to unregistertype- the mxbean type
-