类 StopWatch.TaskInfo
- java.lang.Object
- org.springframework.util.StopWatch.TaskInfo
- 封闭类:
- StopWatch
public static final class StopWatch.TaskInfo extends Object
Inner class to hold data about one task executed within the stop watch.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.
方法详细资料
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.