com.metamatrix.core.util
Class Stopwatch.Statistics

java.lang.Object
  extended by com.metamatrix.core.util.Stopwatch.Statistics
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Stopwatch

public class Stopwatch.Statistics
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Stopwatch.Statistics()
           
 
Method Summary
 void add(long duration)
           
 float getAverage()
           
 int getCount()
           
 long getLast()
           
 long getMaximum()
           
 long getMinimum()
           
 long getTotal()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stopwatch.Statistics

public Stopwatch.Statistics()
Method Detail

getMinimum

public long getMinimum()

getMaximum

public long getMaximum()

getLast

public long getLast()

getAverage

public float getAverage()

getTotal

public long getTotal()

getCount

public int getCount()

add

public void add(long duration)

reset

public void reset()


Copyright © 2009. All Rights Reserved.