|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.management.j2ee.statistics Interface TimeStatistic
- All Superinterfaces:
- Statistic
public interface TimeStatistic
- extends Statistic
Implements:
Statistic
指定标准计时测量。
Specifies standard timing measurements.
Method Summary | |
---|---|
long |
getCount()
Number of times the operation was invoked since the beginning of this measurement. |
long |
getMaxTime()
The maximum amount of time taken to complete one invocation of this operation since the beginning of this measurement. |
long |
getMinTime()
The minimum amount of time taken to complete one invocation of this operation since the beginning of this measurement. |
long |
getTotalTime()
This is the sum total of time taken to complete every invocation of this operation since the beginning of this measurement. |
Methods inherited from interface javax.management.j2ee.statistics.Statistic |
---|
getDescription, getLastSampleTime, getName, getStartTime, getUnit |
Method Detail |
---|
public long
getCount()
自此测量开始以来,调用此操作的时间。
英文文档:
getCount
long getCount()
- Number of times the operation was invoked since the beginning of this measurement.
public long
getMaxTime()
自此测量开始以来,完成此操作的一次调用所花费的最大时间量。
英文文档:
getMaxTime
long getMaxTime()
- The maximum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
public long
getMinTime()
自此测量开始以来,完成此操作的一次调用所花费的最小时间量。
英文文档:
getMinTime
long getMinTime()
- The minimum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
public long
getTotalTime()
自此测量开始以来,每次完成调用此操作所费时间的总和。用 totalTime 除以该数将得到此操作的平均执行时间。
英文文档:
getTotalTime
long getTotalTime()
- This is the sum total of time taken to complete every invocation of this operation since the beginning of this measurement. Dividing totalTime by count will give you the average execution time for this operation.
|
|||||||||
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!