public class Timer extends Object
| Constructor and Description |
|---|
Timer() |
| Modifier and Type | Method and Description |
|---|---|
long |
current()
Get intermediate timer value
|
String |
format()
Format the elapsed time
|
long |
start()
Start the timer
|
long |
stop()
Stop the timer and return elapsed time
|
public long start()
public long current()
public long stop()
public String format()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.