public class ApmMetric extends Object
Modifier and Type | Method and 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.
|
public String getId()
public boolean isEnabled()
true
if it is enabled for being collected, or false
if it is disabled for being
collected.public void setEnabled(boolean enabled)
enabled
- true
to enable for being collected, or false
to disable it for being collected.public String getObjectName()
public String getAttributeName()
public boolean isLocal()
true
if this metric is local for each server or false
if it is a global metric.public int getInterval()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.