Java EE 5 SDK

com.sun.appserv.management.util.misc
Class PrintMillis

java.lang.Object
  extended by com.sun.appserv.management.util.misc.PrintMillis

public class PrintMillis
extends Object

Useful for printing elapsed timings out. Example: final PrintMillis timer = new PrintMillis(); ... timer.println( "start" ); ... timer.println( "middle" ); ... ... timer.println( "end" );


Constructor Summary
PrintMillis()
           
 
Method Summary
 void println(String msg)
          Print out the milliseconds that have elapsed since the last call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintMillis

public PrintMillis()
Method Detail

println

public void println(String msg)
Print out the milliseconds that have elapsed since the last call.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.