Home » openjdk-7 » javax » management » j2ee » statistics » [javadoc | source]
javax.management.j2ee.statistics
public interface: Statistic [javadoc | source]

All Known Implementing Classes:
    CountStatistic, TimeStatistic, BoundedRangeStatistic, RangeStatistic, BoundaryStatistic

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 from javax.management.j2ee.statistics.Statistic Summary:
getDescription,   getLastSampleTime,   getName,   getStartTime,   getUnit
Method from javax.management.j2ee.statistics.Statistic Detail:
 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. Valid values for TimeStatistic measurements are "HOUR", "MINUTE", "SECOND", "MILLISECOND", "MICROSECOND" and "NANOSECOND".