Package org.springframework.util
Class StopWatch.TaskInfo
java.lang.Object
org.springframework.util.StopWatch.TaskInfo
- Enclosing class:
- StopWatch
Nested class to hold data about one task executed within the 
StopWatch.- 
Method SummaryModifier and TypeMethodDescriptionGet the name of this task.longGet the time this task took in milliseconds.longGet the time this task took in nanoseconds.doubleGet the time this task took in seconds.
- 
Method Details- 
getTaskNameGet the name of this task.
- 
getTimeNanospublic long getTimeNanos()Get the time this task took in nanoseconds.- Since:
- 5.2
- See Also:
 
- 
getTimeMillispublic long getTimeMillis()Get the time this task took in milliseconds.- See Also:
 
- 
getTimeSecondspublic double getTimeSeconds()Get the time this task took in seconds.- See Also:
 
 
-