public interface Stopwatch
| Modifier and Type | Method and Description | 
|---|---|
void | 
elapsed(String message)
Record the elapsed time since the stopwatch was started/restarted. 
 | 
void | 
elapsed(String message,
       Object... arguments)
Record the elapsed time since the stopwatch was started/restarted. 
 | 
void | 
split(String message)
Record time elapsed since the last interval measurement or since started/restarted. 
 | 
void | 
split(String message,
     Object... arguments)
Record time elapsed since the last interval measurement or since started/restarted. 
 | 
void | 
start()
Starts the stopwatch. 
 | 
void start()
void split(String message)
message - message to record (typically a description of the functionality measured, like a component name.)void split(String message, Object... arguments)
message - message to record (typically a description of the functionality measured, like a component name.)arguments - arguments to be substituted into the message. Parameterization operates as in slf4j:
                http://www.slf4j.org/faq.html#logging_performancevoid elapsed(String message)
message - message to record (typically a description of the functionality measured, like a component name.)void elapsed(String message, Object... arguments)
message - message to record (typically a description of the functionality measured, like a component name.)arguments - arguments to be substituted into the message. Parameterization operates as in slf4j:
                http://www.slf4j.org/faq.html#logging_performanceCopyright © 2016–2017. All rights reserved.