org.springframework.util
Class StopWatch.TaskInfo

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

public static class StopWatch.TaskInfo
extends Object

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


Method Summary
 String getTaskName()
          Return the name of this task.
 long getTime()
          Deprecated. in favor of getTimeMillis
 long getTimeMillis()
          Return the time in milliseconds this task took.
 double getTimeSeconds()
          Return the time in seconds this task took.
 double getTimeSecs()
          Deprecated. in favor of getTimeSeconds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTaskName

public String getTaskName()
Return the name of this task.


getTimeMillis

public long getTimeMillis()
Return the time in milliseconds this task took.


getTime

public long getTime()
Deprecated. in favor of getTimeMillis

Return the time in milliseconds this task took.


getTimeSeconds

public double getTimeSeconds()
Return the time in seconds this task took.


getTimeSecs

public double getTimeSecs()
Deprecated. in favor of getTimeSeconds

Return the time in seconds this task took.



Copyright (C) 2003-2004 The Spring Framework Project.