Top Description Methods
javax.management.j2ee.statistics

public Interface Statistic

Known Direct Subinterfaces
javax.management.j2ee.statistics.TimeStatistic, javax.management.j2ee.statistics.BoundaryStatistic, javax.management.j2ee.statistics.CountStatistic, javax.management.j2ee.statistics.RangeStatistic

The Statistic model and its sub-models specify the data models which are requried to be used to provide the performance data described by the specific attributes in the Stats models.

Method Summary

Modifier and TypeMethod and Description
public String
getDescription()

A human-readable description of the Statistic.

public long
getLastSampleTime()

The time of the last measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.

public String
getName()

The name of this Statistic.

public long
getStartTime()

The time of the first measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.

public String
getUnit()

The unit of measurement for this Statistic.

Method Detail

getDescriptionback to summary
public String getDescription()

A human-readable description of the Statistic.

getLastSampleTimeback to summary
public long getLastSampleTime()

The time of the last measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.

getNameback to summary
public String getName()

The name of this Statistic.

getStartTimeback to summary
public long getStartTime()

The time of the first measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.

getUnitback to summary
public String getUnit()

The unit of measurement for this Statistic. Valid values for TimeStatistic measurements are "HOUR", "MINUTE", "SECOND", "MILLISECOND", "MICROSECOND" and "NANOSECOND".