org.webdocwf.util.loader
Class TimeWatch

java.lang.Object
  extended by org.webdocwf.util.loader.TimeWatch

public class TimeWatch
extends java.lang.Object

Class used for calculating time.

Version:
1.1
Author:
Sinisa Milosevic

Constructor Summary
TimeWatch()
          Constructor
 
Method Summary
 java.lang.String getJobTime()
          Method getJobTime - return duration of loader job (importDefinition or sql) as a String (min:sec,milsec)
 java.lang.String getTotalTime()
          Method getTotalTime - return all jobs duration as a String (min:sec,milsec)
 void reset()
          set jop time to 0.
 void setStartJobTime()
          Method setStartJobTime - set time counter for new loader job
 void setStartTime()
          Method setStartTime - set time counter for all loader jobs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeWatch

public TimeWatch()
Constructor

Method Detail

getTotalTime

public java.lang.String getTotalTime()
Method getTotalTime - return all jobs duration as a String (min:sec,milsec)

Returns:
String (min:sec,milsec)

setStartJobTime

public void setStartJobTime()
Method setStartJobTime - set time counter for new loader job


setStartTime

public void setStartTime()
Method setStartTime - set time counter for all loader jobs


getJobTime

public java.lang.String getJobTime()
Method getJobTime - return duration of loader job (importDefinition or sql) as a String (min:sec,milsec)

Returns:
(min:sec,milsec)

reset

public void reset()
set jop time to 0.



Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.