Class ApmMetricManager

  • All Implemented Interfaces:
    IApmMetricManagerSPI

    public class ApmMetricManager
    extends java.lang.Object
    implements IApmMetricManagerSPI
    APM metric manager implementation.
    Since:
    12.4.0
    Version:
    $Revision: 23912 $ $Date: 2020-06-19 14:42:23 -0300 (Fri, 19 Jun 2020) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()
      Destroys the APM metric manager allowing it to release its resources.
      java.util.Collection<ApmMetric> getEnabledMetrics​(boolean local)
      Returns the enabled metrics of the given type.
      void init()
      Initializes the APM metric manager.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApmMetricManager

        public ApmMetricManager()
    • Method Detail

      • getEnabledMetrics

        public java.util.Collection<ApmMetric> getEnabledMetrics​(boolean local)
        Description copied from interface: IApmMetricManagerSPI
        Returns the enabled metrics of the given type.
        Specified by:
        getEnabledMetrics in interface IApmMetricManagerSPI
        Parameters:
        local - true to return only local metrics or false to return only global metrics.
        Returns:
        a collection with the metrics. If no such enabled metric was found, an empty collection is returned.