Package org.springframework.util
Class StopWatch.TaskInfo
- java.lang.Object
- org.springframework.util.StopWatch.TaskInfo
- Enclosing class:
- StopWatch
public static final class StopWatch.TaskInfo extends Object
Inner class to hold data about one task executed within the stop watch.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTaskName()
Return the name of this task.long
getTimeMillis()
Return the time in milliseconds this task took.double
getTimeSeconds()
Return the time in seconds this task took.
Method Detail
getTaskName
public String getTaskName()
Return the name of this task.
getTimeMillis
public long getTimeMillis()
Return the time in milliseconds this task took.
getTimeSeconds
public double getTimeSeconds()
Return the time in seconds this task took.