Class ElapsedTimer
java.lang.Object
org.apache.commons.jcs3.utils.timing.ElapsedTimer
This is a simple timer utility.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongGets the time elapsed between the start time and now.Returns the elapsed time with the display suffix.
- 
Constructor Details- 
ElapsedTimerpublic ElapsedTimer()
 
- 
- 
Method Details- 
getElapsedTimeGets the time elapsed between the start time and now. The start time is reset to now. Subsequent calls will get the time between then and now.- Returns:
- the elapsed time
 
- 
getElapsedTimeStringReturns the elapsed time with the display suffix.- Returns:
- formatted elapsed Time
 
 
-