com.googlecode.flyway.core.util
Class StopWatch

java.lang.Object
  extended by com.googlecode.flyway.core.util.StopWatch

public class StopWatch
extends java.lang.Object

Stop watch, inspired by the implementation in the Spring framework.


Constructor Summary
StopWatch()
           
 
Method Summary
 long getTotalTimeMillis()
           
 void start()
          Starts the stop watch.
 void stop()
          Stops the stop watch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopWatch

public StopWatch()
Method Detail

start

public void start()
Starts the stop watch.


stop

public void stop()
Stops the stop watch.


getTotalTimeMillis

public long getTotalTimeMillis()
Returns:
The total run time in millis of the stop watch between start and stop calls.


Copyright © 2012. All Rights Reserved.