Package lumis.portal.apm.metric
Class ApmMetricManager
- java.lang.Object
-
- lumis.portal.apm.metric.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) $
-
-
Constructor Summary
Constructors Constructor Description ApmMetricManager()
-
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.
-
-
-
Method Detail
-
init
public void init()
Description copied from interface:IApmMetricManagerSPI
Initializes the APM metric manager.- Specified by:
init
in interfaceIApmMetricManagerSPI
-
destroy
public void destroy()
Description copied from interface:IApmMetricManagerSPI
Destroys the APM metric manager allowing it to release its resources.- Specified by:
destroy
in interfaceIApmMetricManagerSPI
-
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 interfaceIApmMetricManagerSPI
- Parameters:
local
-true
to return only local metrics orfalse
to return only global metrics.- Returns:
- a collection with the metrics. If no such enabled metric was found, an empty collection is returned.
-
-