Kodo 4.2.0. generated on July 28 2008

com.solarmetric.manage
Class TimeWatch.Token

java.lang.Object
  extended by com.solarmetric.manage.TimeWatch.Token
Enclosing class:
TimeWatch

public static class TimeWatch.Token
extends Object

A timer token. Once created, a token can be restarted and stopped. Each time it is stopped, a value is written to the statistic. When a token is stopped, the start time is set to the current time.


Method Summary
 void restart()
          Restart the timer.
 void stop()
          Write out a statistic value and restart the timer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

stop

public void stop()
Write out a statistic value and restart the timer.


restart

public void restart()
Restart the timer.


Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.