javax.management.j2ee.statistics
Interface Statistic
- All Known Subinterfaces:
- BoundaryStatistic, BoundedRangeStatistic, CountStatistic, RangeStatistic, TimeStatistic
public interface Statistic
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.
- Author:
- Guillaume Sauthier
getName
java.lang.String getName()
- Returns:
- The name of this Statistic.
getUnit
java.lang.String getUnit()
- Returns:
- The unit of measurement for this Statistic.
Valid values for TimeStatistic measurements
are "HOUR", "MINUTE", "SECOND", "MILLISECOND",
"MICROSECOND" and "NANOSECOND".
getDescription
java.lang.String getDescription()
- Returns:
- A human-readable description of the Statistic.
getStartTime
long getStartTime()
- Returns:
- The time of the first measurement represented as
a long, whose value is the number of milliseconds
since January 1, 1970, 00:00:00.
getLastSampleTime
long getLastSampleTime()
- Returns:
- The time of the last measurement represented as a
long, whose value is the number of milliseconds
since January 1, 1970, 00:00:00.
Copyright © 2007 OW2 Consortium. All Rights Reserved.