| Constructor and Description |
|---|
StopWatch()
Starts the stop watch
|
StopWatch(boolean started)
Creates the stop watch
|
StopWatch(Date startTimestamp)
Starts the stop watch from the given timestamp
|
| Modifier and Type | Method and Description |
|---|---|
void |
restart()
Starts or restarts the stop watch
|
long |
stop()
Stops the stop watch
|
long |
taken()
Returns the time taken in millis.
|
Apache Camel