public class

ManagedMetric

extends AbstractJmxAttribute
java.lang.Object
   ↳ org.springframework.jmx.export.metadata.AbstractJmxAttribute
     ↳ org.springframework.jmx.export.metadata.ManagedMetric

Class Overview

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.

Summary

Public Constructors
ManagedMetric()
Public Methods
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.
[Expand]
Inherited Methods
From class org.springframework.jmx.export.metadata.AbstractJmxAttribute
From class java.lang.Object

Public Constructors

public ManagedMetric ()

Public Methods

public String getCategory ()

The category of this metric (ex. throughput, performance, utilization).

public String getDisplayName ()

A display name for this metric.

public MetricType getMetricType ()

A description of how this metric's values change over time.

public int getPersistPeriod ()

The persist period for this metric.

public String getPersistPolicy ()

The persist policy for this metric.

public String getUnit ()

The expected unit of measurement values.

public void setCategory (String category)

The category of this metric (ex. throughput, performance, utilization).

public void setDisplayName (String displayName)

A display name for this metric.

public void setMetricType (MetricType metricType)

A description of how this metric's values change over time.

public void setPersistPeriod (int persistPeriod)

The persist period for this metric.

public void setPersistPolicy (String persistPolicy)

The persist policy for this metric.

public void setUnit (String unit)

The expected unit of measurement values.