Kodo 4.2.0. (DEPRECATED)

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. (DEPRECATED)

Copyright 2011 Oracle, Inc. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-02