public class ManagedMetric extends AbstractJmxAttribute
MetadataMBeanInfoAssembler
Constructor and Description |
---|
ManagedMetric() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory()
The category of this metric (ex.
|
java.lang.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.
|
java.lang.String |
getPersistPolicy()
The persist policy for this metric.
|
java.lang.String |
getUnit()
The expected unit of measurement values.
|
void |
setCategory(java.lang.String category)
The category of this metric (ex.
|
void |
setDisplayName(java.lang.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(java.lang.String persistPolicy)
The persist policy for this metric.
|
void |
setUnit(java.lang.String unit)
The expected unit of measurement values.
|
getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
public void setCategory(@Nullable java.lang.String category)
@Nullable public java.lang.String getCategory()
public void setDisplayName(@Nullable java.lang.String displayName)
@Nullable public java.lang.String getDisplayName()
public void setMetricType(MetricType metricType)
public MetricType getMetricType()
public void setPersistPeriod(int persistPeriod)
public int getPersistPeriod()
public void setPersistPolicy(@Nullable java.lang.String persistPolicy)
@Nullable public java.lang.String getPersistPolicy()
public void setUnit(@Nullable java.lang.String unit)
@Nullable public java.lang.String getUnit()