com.solarmetric.manage
Class  TimeWatch.Token
java.lang.Object
  |
  +--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 | 
 
stop
public void stop()
- Write out a statistic value and restart the timer.
restart
public void restart()
- Restart the timer.
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.