Package lumis.portal.apm.metric
Class ApmMetric
- java.lang.Object
-
- lumis.portal.apm.metric.ApmMetric
-
public class ApmMetric extends Object
A APM metric definition.- 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 Concrete Methods Modifier and Type Method Description String
getAttributeName()
Returns the JMX attribute name used to obtain the value for this metric.String
getId()
Returns this metric's identifier.int
getInterval()
Returns the interval for collecting this metric in minutes.String
getObjectName()
Returns the JMX object name used to obtain the value for this metric.boolean
isEnabled()
Returns whether this metric is enabled for being collected.boolean
isLocal()
Indicates if this metric is local for each server.void
setEnabled(boolean enabled)
Sets whether this metric is enabled for being collected.
-
-
-
Method Detail
-
getId
public String getId()
Returns this metric's identifier.- Returns:
- the identifier.
- Since:
- 12.4.0
-
isEnabled
public boolean isEnabled()
Returns whether this metric is enabled for being collected.- Returns:
true
if it is enabled for being collected, orfalse
if it is disabled for being collected.- Since:
- 12.4.0
-
setEnabled
public void setEnabled(boolean enabled)
Sets whether this metric is enabled for being collected.- Parameters:
enabled
-true
to enable for being collected, orfalse
to disable it for being collected.- Since:
- 12.4.0
-
getObjectName
public String getObjectName()
Returns the JMX object name used to obtain the value for this metric.- Returns:
- the JMX object name.
- Since:
- 12.4.0
-
getAttributeName
public String getAttributeName()
Returns the JMX attribute name used to obtain the value for this metric.- Returns:
- the JMX attribute name.
- Since:
- 12.4.0
-
isLocal
public boolean isLocal()
Indicates if this metric is local for each server.- Returns:
true
if this metric is local for each server orfalse
if it is a global metric.- Since:
- 12.4.0
-
getInterval
public int getInterval()
Returns the interval for collecting this metric in minutes.- Returns:
- the interval in minutes.
- Since:
- 12.4.0
-
-