|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.management.j2ee.statistics Interface Statistic
- All Known Subinterfaces:
- BoundaryStatistic, BoundedRangeStatistic, CountStatistic, RangeStatistic, TimeStatistic
public interface Statistic
Statistic 模型及其子模型指定一些数据模型,这些数据模型用于提供 Stats 模型中的特定属性所描述的性能数据。
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 | |
---|---|
String |
getDescription()
A human-readable description of the Statistic. |
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. |
String |
getName()
The name of this Statistic. |
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. |
String |
getUnit()
The unit of measurement for this Statistic. |
Method Detail |
---|
public String
getName()
此 Statistic 的名称。
英文文档:
getName
String getName()
- The name of this Statistic.
public String
getUnit()
此 Statistic 的测量单位。TimeStatistic 测量的有效值包括 "HOUR"、"MINUTE"、"SECOND"、"MILLISECOND"、"MICROSECOND" 和 "NANOSECOND"。
英文文档:
getUnit
String getUnit()
- The unit of measurement for this Statistic.
Valid values for TimeStatistic measurements are "HOUR", "MINUTE", "SECOND", "MILLISECOND", "MICROSECOND" and "NANOSECOND".
public String
getDescription()
Statistic 的可读描述。
英文文档:
getDescription
String getDescription()
- A human-readable description of the Statistic.
public long
getStartTime()
第一次测量的时间表示为一个 long,它的值是自 1970 年 1 月 1 日 00:00:00 以来的毫秒数。
英文文档:
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.
public long
getLastSampleTime()
最后一次测量的时间表示为一个 long,它的值是自 1970 年 1 月 1 日 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!