Xindice API
version 1.2m1

org.apache.xindice
Class Stopwatch

java.lang.Object
  extended byorg.apache.xindice.Stopwatch

public final class Stopwatch
extends Object

Stopwatch is a debugging tool for manually profiling code execution. This class will probably be removed for a production release.

Version:
$Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $

Constructor Summary
Stopwatch()
           
Stopwatch(boolean immediate)
           
Stopwatch(String label)
           
Stopwatch(String label, boolean immediate)
           
 
Method Summary
 void cancel()
           
 long elapsed()
           
 void reset()
           
 void start()
           
 long stop()
           
 String toString()
           
 long total()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Stopwatch

public Stopwatch()

Stopwatch

public Stopwatch(boolean immediate)

Stopwatch

public Stopwatch(String label)

Stopwatch

public Stopwatch(String label,
                 boolean immediate)
Method Detail

start

public void start()

stop

public long stop()

cancel

public void cancel()

reset

public void reset()

elapsed

public long elapsed()

total

public long total()

toString

public String toString()

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.