org.apache.geronimo.management.stats
Class TimeStatisticImpl

java.lang.Object
  extended byorg.apache.geronimo.management.stats.StatisticImpl
      extended byorg.apache.geronimo.management.stats.TimeStatisticImpl
All Implemented Interfaces:
Serializable, javax.management.j2ee.statistics.Statistic, javax.management.j2ee.statistics.TimeStatistic

public class TimeStatisticImpl
extends StatisticImpl
implements javax.management.j2ee.statistics.TimeStatistic

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.geronimo.management.stats.StatisticImpl
UNIT_COUNT, UNIT_MEMORY_BYTES, UNIT_MEMORY_GIGABYTES, UNIT_MEMORY_KILOBYTES, UNIT_MEMORY_MEGABYTES, UNIT_TIME_HOUR, UNIT_TIME_MICROSECOND, UNIT_TIME_MILLISECOND, UNIT_TIME_MINUTE, UNIT_TIME_NANOSECOND, UNIT_TIME_SECOND
 
Constructor Summary
TimeStatisticImpl(String name, String unit, String description)
           
 
Method Summary
 long getCount()
           
 long getMaxTime()
           
 long getMinTime()
           
 long getTotalTime()
           
 void setCount(long count)
           
 void setMaxTime(long maxTime)
           
 void setMinTime(long minTime)
           
 void setTotalTime(long totalTime)
           
 
Methods inherited from class org.apache.geronimo.management.stats.StatisticImpl
getDescription, getLastSampleTime, getName, getStartTime, getUnit, setLastSampleTime, setLastSampleTime, setStartTime, setStartTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit
 

Constructor Detail

TimeStatisticImpl

public TimeStatisticImpl(String name,
                         String unit,
                         String description)
Method Detail

getCount

public long getCount()
Specified by:
getCount in interface javax.management.j2ee.statistics.TimeStatistic

setCount

public void setCount(long count)

getMinTime

public long getMinTime()
Specified by:
getMinTime in interface javax.management.j2ee.statistics.TimeStatistic

setMinTime

public void setMinTime(long minTime)

getMaxTime

public long getMaxTime()
Specified by:
getMaxTime in interface javax.management.j2ee.statistics.TimeStatistic

setMaxTime

public void setMaxTime(long maxTime)

getTotalTime

public long getTotalTime()
Specified by:
getTotalTime in interface javax.management.j2ee.statistics.TimeStatistic

setTotalTime

public void setTotalTime(long totalTime)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.