Kodo 4.2.0. (DEPRECATED)

Class TimeWatch.Token

  extended by com.solarmetric.manage.TimeWatch.Token
Enclosing class:

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


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


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)
12c Release 1 (12.1.1)
Part Number E24400_01