org.smallmind.seda
Class DurationMonitor

java.lang.Object
  extended by org.smallmind.seda.DurationMonitor

public class DurationMonitor
extends Object


Constructor Summary
DurationMonitor(int size)
           
 
Method Summary
protected  void accumulate(long duration)
           
 double getAverage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DurationMonitor

public DurationMonitor(int size)
Method Detail

getAverage

public double getAverage()

accumulate

protected void accumulate(long duration)


Copyright © 2011. All Rights Reserved.