类 ManagedMetric
java.lang.Object
cn.taketoday.jmx.export.metadata.AbstractJmxAttribute
cn.taketoday.jmx.export.metadata.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.
- 从以下版本开始:
- 4.0
- 作者:
- Jennifer Hickey
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明The category of this metric (ex. throughput, performance, utilization).A display name for this metric.A description of how this metric's values change over time.intThe persist period for this metric.The persist policy for this metric.getUnit()The expected unit of measurement values.voidsetCategory(String category) The category of this metric (ex. throughput, performance, utilization).voidsetDisplayName(String displayName) A display name for this metric.voidsetMetricType(MetricType metricType) A description of how this metric's values change over time.voidsetPersistPeriod(int persistPeriod) The persist period for this metric.voidsetPersistPolicy(String persistPolicy) The persist policy for this metric.voidThe expected unit of measurement values.从类继承的方法 cn.taketoday.jmx.export.metadata.AbstractJmxAttribute
getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
-
构造器详细资料
-
ManagedMetric
public ManagedMetric()
-
-
方法详细资料
-
setCategory
The category of this metric (ex. throughput, performance, utilization). -
getCategory
The category of this metric (ex. throughput, performance, utilization). -
setDisplayName
A display name for this metric. -
getDisplayName
A display name for this metric. -
setMetricType
A description of how this metric's values change over time. -
getMetricType
A description of how this metric's values change over time. -
setPersistPeriod
public void setPersistPeriod(int persistPeriod) The persist period for this metric. -
getPersistPeriod
public int getPersistPeriod()The persist period for this metric. -
setPersistPolicy
The persist policy for this metric. -
getPersistPolicy
The persist policy for this metric. -
setUnit
The expected unit of measurement values. -
getUnit
The expected unit of measurement values.
-