public class ManagedMetric extends AbstractJmxAttribute
MetadataMBeanInfoAssembler
Constructor and Description |
---|
ManagedMetric() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
The category of this metric (ex.
|
String |
getDisplayName()
A display name for this metric.
|
MetricType |
getMetricType()
A description of how this metric's values change over time.
|
int |
getPersistPeriod()
The persist period for this metric.
|
String |
getPersistPolicy()
The persist policy for this metric.
|
String |
getUnit()
The expected unit of measurement values.
|
void |
setCategory(String category)
The category of this metric (ex.
|
void |
setDisplayName(String displayName)
A display name for this metric.
|
void |
setMetricType(MetricType metricType)
A description of how this metric's values change over time.
|
void |
setPersistPeriod(int persistPeriod)
The persist period for this metric.
|
void |
setPersistPolicy(String persistPolicy)
The persist policy for this metric.
|
void |
setUnit(String unit)
The expected unit of measurement values.
|
getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
public void setCategory(@Nullable String category)
@Nullable public String getCategory()
public void setDisplayName(@Nullable String displayName)
public void setMetricType(MetricType metricType)
public MetricType getMetricType()
public void setPersistPeriod(int persistPeriod)
public int getPersistPeriod()
public void setPersistPolicy(@Nullable String persistPolicy)