org.elkoserver.foundation.server
Class ServerLoadMonitor

java.lang.Object
  extended by org.elkoserver.foundation.server.ServerLoadMonitor
All Implemented Interfaces:
LoadMonitor

public class ServerLoadMonitor
extends Object
implements LoadMonitor

Processing time accumulator to help keep track of system load.


Method Summary
 void addTime(long timeIncrement)
          Take note of some processing time spent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addTime

public void addTime(long timeIncrement)
Take note of some processing time spent.

Specified by:
addTime in interface LoadMonitor
Parameters:
timeIncrement - The amount of processing time that was spent, in milliseconds.