org.rhq.core.util
Class StopWatch

java.lang.Object
  extended by org.rhq.core.util.StopWatch

public class StopWatch
extends Object


Constructor Summary
StopWatch()
           
StopWatch(long start)
           
 
Method Summary
 long getElapsed()
           
 void markTimeBegin(String marker)
           
 void markTimeEnd(String marker)
           
 long reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StopWatch

public StopWatch()

StopWatch

public StopWatch(long start)
Method Detail

markTimeBegin

public void markTimeBegin(String marker)

markTimeEnd

public void markTimeEnd(String marker)

reset

public long reset()

getElapsed

public long getElapsed()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.