org.springframework.util
Class StopWatch.TaskInfo

java.lang.Object
  extended by org.springframework.util.StopWatch.TaskInfo
Enclosing class:
StopWatch

public static final class StopWatch.TaskInfo
extends java.lang.Object

Inner class to hold data about one task executed within the stop watch.


Field Summary
private  java.lang.String taskName
           
private  long timeMillis
           
 
Constructor Summary
StopWatch.TaskInfo(java.lang.String taskName, long timeMillis)
           
 
Method Summary
 java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskName

private final java.lang.String taskName

timeMillis

private final long timeMillis
Constructor Detail

StopWatch.TaskInfo

StopWatch.TaskInfo(java.lang.String taskName,
                   long timeMillis)
Method Detail

getTaskName

public java.lang.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.