|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.jmx.export.metadata.AbstractJmxAttribute
org.springframework.jmx.export.metadata.ManagedMetric
public class ManagedMetric
Metadata that indicates to expose a given bean property as a JMX attribute, with additional descriptor properties that indicate that the attribute is a metric. Only valid when used on a JavaBean getter.
MetadataMBeanInfoAssembler
Field Summary | |
---|---|
private java.lang.String |
category
|
private java.lang.String |
displayName
|
private MetricType |
metricType
|
private int |
persistPeriod
|
private java.lang.String |
persistPolicy
|
private java.lang.String |
unit
|
Constructor Summary | |
---|---|
ManagedMetric()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.springframework.jmx.export.metadata.AbstractJmxAttribute |
---|
getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String category
private java.lang.String displayName
private MetricType metricType
private int persistPeriod
private java.lang.String persistPolicy
private java.lang.String unit
Constructor Detail |
---|
public ManagedMetric()
Method Detail |
---|
public void setCategory(java.lang.String category)
public java.lang.String getCategory()
public void setDisplayName(java.lang.String displayName)
public java.lang.String getDisplayName()
public void setMetricType(MetricType metricType)
public MetricType getMetricType()
public void setPersistPeriod(int persistPeriod)
public int getPersistPeriod()
public void setPersistPolicy(java.lang.String persistPolicy)
public java.lang.String getPersistPolicy()
public void setUnit(java.lang.String unit)
public java.lang.String getUnit()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |