Interface IApmMetricManagerSPI

  • All Known Implementing Classes:
    ApmMetricManager

    public interface IApmMetricManagerSPI
    APM metric manager service provider interface.
    Since:
    12.4.0
    Version:
    $Revision: 23904 $ $Date: 2020-06-16 12:23:44 -0300 (Tue, 16 Jun 2020) $
    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • init

        void init()
        Initializes the APM metric manager.
        Since:
        12.4.0
      • destroy

        void destroy()
        Destroys the APM metric manager allowing it to release its resources.
        Since:
        12.4.0
      • getEnabledMetrics

        java.util.Collection<ApmMetric> getEnabledMetrics​(boolean local)
        Returns the enabled metrics of the given type.
        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.
        Since:
        12.4.0