Class JmxWorker


  • public class JmxWorker
    extends Object
    Author:
    hrupp
    • Method Detail

      • instance

        public static JmxWorker instance()
      • getValue

        public Number getValue​(String mbeanExpression)
        Read a value from the MBeanServer
        Parameters:
        mbeanExpression - The expression to look for
        Returns:
        The value of the Mbean attribute
      • expandMultiValueEntries

        public void expandMultiValueEntries​(List<ExtendedMetadataAndTags> entries)
        We need to expand entries that are marked with the multi flag into the actual MBeans. This is done by replacing a placeholder of %s in the name and MBean name with the real Mbean key-value.
        Parameters:
        entries - List of entries