Class JmxRegistration


  • public final class JmxRegistration
    extends Object
    Jmx cache utilities.
    • Method Detail

      • registerMXBean

        public static void registerMXBean​(Cache<?,​?> cache,
                                          Object mxbean,
                                          JmxRegistration.MBeanType type)
        Registers the JMX management bean for the cache.
        Parameters:
        cache - the cache to register
        mxbean - the management bean
        type - the mxbean type
      • unregisterMXBean

        public static void unregisterMXBean​(Cache<?,​?> cache,
                                            JmxRegistration.MBeanType type)
        Unregisters the JMX management bean for the cache.
        Parameters:
        cache - the cache to unregister
        type - the mxbean type