TimeStatistic (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.management.j2ee.statistics Interface TimeStatistic

所有父接口:
Statistic

public interface TimeStatistic
extends Statistic

Specifies standard timing measurements.


方法摘要
 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
 

方法详细信息

getCount

long getCount()
Number of times the operation was invoked since the beginning of this measurement.


getMaxTime

long getMaxTime()
The maximum amount of time taken to complete one invocation of this operation since the beginning of this measurement.


getMinTime

long getMinTime()
The minimum amount of time taken to complete one invocation of this operation since the beginning of this measurement.


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.


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.