com.sun.appserv.management.j2ee.statistics
Class TimeStatisticImpl
java.lang.Object
   com.sun.appserv.management.j2ee.statistics.StatisticImpl
com.sun.appserv.management.j2ee.statistics.StatisticImpl
       com.sun.appserv.management.j2ee.statistics.TimeStatisticImpl
com.sun.appserv.management.j2ee.statistics.TimeStatisticImpl
- All Implemented Interfaces: 
- java.io.Serializable, Statistic, TimeStatistic
- public final class TimeStatisticImpl- extends StatisticImpl- implements TimeStatistic, java.io.Serializable
- See Also:
- Serialized Form
 
| 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 class java.lang.Object | 
| clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
TimeStatisticImpl
public TimeStatisticImpl(CompositeData compositeData)
TimeStatisticImpl
public TimeStatisticImpl(java.util.Map m)
TimeStatisticImpl
public TimeStatisticImpl(TimeStatistic s)
TimeStatisticImpl
public TimeStatisticImpl(MapStatistic s)
TimeStatisticImpl
public TimeStatisticImpl(java.lang.String name,
                         java.lang.String description,
                         java.lang.String unit,
                         long startTime,
                         long lastSampleTime,
                         long count,
                         long maxTime,
                         long minTime,
                         long totalTime)
getCount
public long getCount()
- Description copied from interface: TimeStatistic
- Number of times the operation was invoked since the beginning of this measurement.
 
- 
- Specified by:
- getCountin interface- TimeStatistic
 
- 
 
getMaxTime
public long getMaxTime()
- Description copied from interface: TimeStatistic
- The maximum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
 
- 
- Specified by:
- getMaxTimein interface- TimeStatistic
 
- 
 
getMinTime
public long getMinTime()
- Description copied from interface: TimeStatistic
- The minimum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
 
- 
- Specified by:
- getMinTimein interface- TimeStatistic
 
- 
 
getTotalTime
public long getTotalTime()
- Description copied from interface: TimeStatistic
- 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.
 
- 
- Specified by:
- getTotalTimein interface- TimeStatistic
 
- 
 
Submit a bug or feature Copyright 2003 Sun Microsystems, Inc. All rights reserved.