Top Description Methods
javax.management.j2ee.statistics

public Interface TimeStatistic

extends Statistic

Specifies standard timing measurements.

Method Summary

Modifier and TypeMethod and Description
public long
getCount()

Number of times the operation was invoked since the beginning of this measurement.

public long
getMaxTime()

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

public long
getMinTime()

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

public long
getTotalTime()

This is the sum total of time taken to complete every invocation of this operation since the beginning of this measurement.

Inherited from javax.management.j2ee.statistics.Statistic:
getDescriptiongetLastSampleTimegetNamegetStartTimegetUnit

Method Detail

getCountback to summary
public long getCount()

Number of times the operation was invoked since the beginning of this measurement.

getMaxTimeback to summary
public long getMaxTime()

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

getMinTimeback to summary
public long getMinTime()

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

getTotalTimeback to summary
public 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.