WebObjects 5.1

com.webobjects.appserver
Class WOStopWatch

java.lang.Object
  |
  +--com.webobjects.eocontrol.EOEvent
        |
        +--com.webobjects.appserver.WOStopWatch

public class WOStopWatch
extends EOEvent

Description forthcoming.


Fields inherited from class com.webobjects.eocontrol.EOEvent
BasicEventSignature, EventGroupName
 
Constructor Summary
WOStopWatch(String aName)
          Description forthcoming.
 
Method Summary
 double accumulatedTime()
          Description forthcoming.
 double averageTime()
          Description forthcoming.
 int count()
          Description forthcoming.
 double currentRunningTime()
          Description forthcoming.
 void reset()
          Description forthcoming.
 void start()
          Description forthcoming.
 void stop()
          Description forthcoming.
 String toString()
          Returns a String that includes the receiver's title, comment, and duration or start date (whichever is appropriate).
 
Methods inherited from class com.webobjects.eocontrol.EOEvent
aggregateEvents, classDescription, comment, compare, description, displayComponentName, duration, durationWithoutSubevents, eventTypeDescriptions, groupEvents, info, markAtomicWithInfo, markEnd, markStartWithInfo, parentEvent, setInfo, setType, signatureOfType, startDate, subevents, title, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WOStopWatch

public WOStopWatch(String aName)
Description forthcoming.
Parameters:
aName - the name of the WOAdaptor subclass
Method Detail

accumulatedTime

public double accumulatedTime()
Description forthcoming.
Returns:
the total time

averageTime

public double averageTime()
Description forthcoming.
Returns:
the average time

count

public int count()
Description forthcoming.
Returns:
the total number

currentRunningTime

public double currentRunningTime()
Description forthcoming.
Returns:
the current time

reset

public void reset()
Description forthcoming.

start

public void start()
Description forthcoming.

stop

public void stop()
Description forthcoming.

toString

public String toString()
Description copied from class: EOEvent
Returns a String that includes the receiver's title, comment, and duration or start date (whichever is appropriate).
Overrides:
toString in class EOEvent
Returns:
a String corresponding to the receiver

Last updated Thu Jan 10 18:10:21 PST 2002.

Copyright © 2002 Apple Computer, Inc.