org.nuiton.web.jmx
Class RequestStatistics

java.lang.Object
  extended by org.nuiton.web.jmx.RequestStatistics
All Implemented Interfaces:
Serializable

public class RequestStatistics
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  int count
           
protected  long elapsedSum
           
protected  long highestElapsed
           
protected  long lowestElapsed
           
 
Constructor Summary
RequestStatistics()
           
 
Method Summary
 void count(long start, long stop)
           
 long getAverageElapsed()
           
 int getCount()
           
 long getElapsedSum()
           
 long getHighestElapsed()
           
 long getLowestElapsed()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

count

protected int count

elapsedSum

protected long elapsedSum

lowestElapsed

protected long lowestElapsed

highestElapsed

protected long highestElapsed
Constructor Detail

RequestStatistics

public RequestStatistics()
Method Detail

getCount

public int getCount()

getElapsedSum

public long getElapsedSum()

getLowestElapsed

public long getLowestElapsed()

getHighestElapsed

public long getHighestElapsed()

getAverageElapsed

public long getAverageElapsed()

count

public void count(long start,
                  long stop)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 CodeLutin. All Rights Reserved.