Package org.glassfish.j2ee.statistics
Interface Statistic
-
- All Known Subinterfaces:
AverageRangeStatistic,BoundaryStatistic,BoundedRangeStatistic,CountStatistic,RangeStatistic,StringStatistic,TimeStatistic
- All Known Implementing Classes:
AverageRangeStatisticImpl,BoundaryStatisticImpl,BoundedRangeStatisticImpl,CountStatisticImpl,MutableAverageRangeStatisticImpl,MutableBoundedRangeStatisticImpl,MutableCountStatisticImpl,MutableTimeStatisticImpl,RangeStatisticImpl,StatisticImpl,StringStatisticImpl,TimeStatisticImpl
public interface StatisticThe 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()A human-readable description of the Statistic.longgetLastSampleTime()The time of the last measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.StringgetName()The name of this Statistic.longgetStartTime()The time of the first measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.StringgetUnit()The unit of measurement for this Statistic.
-
-
-
Method Detail
-
getName
String getName()
The name of this Statistic.
-
getUnit
String getUnit()
The unit of measurement for this Statistic. Valid values for TimeStatistic measurements are "HOUR", "MINUTE", "SECOND", "MILLISECOND", "MICROSECOND" and "NANOSECOND".
-
getDescription
String getDescription()
A human-readable description of the Statistic.
-
getStartTime
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.
-
getLastSampleTime
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.
-
-