Package lumis.portal.apm.metric
Class ApmMetric
- java.lang.Object
-
- lumis.portal.apm.metric.ApmMetric
-
public class ApmMetric extends java.lang.Object
A APM metric definition.- Since:
- 12.4.0
- Version:
- $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAttributeName()
Returns the JMX attribute name used to obtain the value for this metric.java.lang.String
getId()
Returns this metric's identifier.int
getInterval()
Returns the interval for collecting this metric in minutes.java.lang.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 java.lang.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 java.lang.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 java.lang.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
-
-