Interface JmxCopyMeter

All Superinterfaces:
IpdMeter
All Known Implementing Classes:
JmxCopyMeter.Noop

public interface JmxCopyMeter extends IpdMeter
Interface representing a JMX copy meter, which is a type of IpdMeter. The meter copies attributes from existing JMX MBean and republishes them in JMX and log file through the IPD framework.

All attribute changes in the original metric will be reflected in JMX and log file after calling update().

  • Field Details

  • Method Details

    • update

      void update()
      Synchronizes the meter state with the original JMX MBean.

      If the original MBean is not available, this meter will also be unregistered from JMX.

      If the original MBean just got registered in JMX, after the update call this meter will also be registered.

    • getTypeId

      default String getTypeId()
      Description copied from interface: IpdMeter
      Identifies type of the meter.
      Specified by:
      getTypeId in interface IpdMeter
      Returns:
      Type ID of the meter