Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.services.util

Class SimpleStopWatch

com.gentleware.services.util.SimpleStopWatch
All known Subclassifier:
InterimStopWatch , MeanTimeStopWatch


public class SimpleStopWatch



 Attribute Summary
private String  _name
 
private boolean  _running
 
private long  _startMillis
 
private long  _stopMillis
 
arrow_up
 

 Constructor Summary
public   SimpleStopWatch()
 
public   SimpleStopWatch(String name)
 
arrow_up
 

 Method Summary
public String   getName()
 
protected long   getStartMillis()
 
protected long   getStopMillis()
 
public long   getTotalTime()
 
public boolean   isRunning()
 
public void   reset()
 
public void   setName(String name)
 
public void   start()
 
public void   stop()
 
public String   toString()
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 9
gentleware-imported-package-statement-line-number 5
 

 Attribute Detail

_name

private String _name

arrow_up


_running

private boolean _running

arrow_up


_startMillis

private long _startMillis

arrow_up


_stopMillis

private long _stopMillis

arrow_up
 Constructor Detail

SimpleStopWatch

public com.gentleware.services.util.SimpleStopWatch SimpleStopWatch()

Returns:
arrow_up


SimpleStopWatch

public com.gentleware.services.util.SimpleStopWatch SimpleStopWatch(String name)

Parameters:
name -
Returns:
arrow_up
 Method Detail

getName

public String getName()

Returns:
arrow_up


getStartMillis

protected long getStartMillis()

Returns:
arrow_up


getStopMillis

protected long getStopMillis()

Returns:
arrow_up


getTotalTime

public long getTotalTime()

Returns:
arrow_up


isRunning

public boolean isRunning()

Returns:
arrow_up


reset

public void reset()

arrow_up


setName

public void setName(String name)

Parameters:
name -
arrow_up


start

public void start()

arrow_up


stop

public void stop()

arrow_up


toString

public String toString()

Returns:
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.