org.infoglue.deliver.util
Class Timer

java.lang.Object
  |
  +--org.infoglue.deliver.util.Timer

public class Timer
extends java.lang.Object

Author:
Mattias Bogeblad This class is a timer utility to debug performance issues. It allows to start/stop the timer and to report in between what the time is.

Constructor Summary
Timer()
           
 
Method Summary
 long getElapsedTime()
           
 boolean getIsActive()
           
 void printElapsedTime(java.lang.String message)
           
 void setActive(boolean isActive)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timer

public Timer()
Method Detail

getElapsedTime

public long getElapsedTime()

printElapsedTime

public void printElapsedTime(java.lang.String message)

getIsActive

public boolean getIsActive()

setActive

public void setActive(boolean isActive)