Remote Systems
v6.4.1

com.ibm.etools.systems.core
Class SystemElapsedTimer

java.lang.Object
  extended bycom.ibm.etools.systems.core.SystemElapsedTimer

public class SystemElapsedTimer
extends Object

A utility helper class to help when making timings of potentially long operations, such as remote system calls.


Field Summary
static String Copyright
           
 
Constructor Summary
SystemElapsedTimer()
           
 
Method Summary
 long getElapsedTime()
           
static void main(String[] args)
           
 SystemElapsedTimer setEndTime()
           
 void setET(long givenET)
           
 void setET(long h, long m, long s, long n)
           
 void setStartTime()
           
 String toString()
           
 void writeElapsedTime(PrintWriter writer, String header)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SystemElapsedTimer

public SystemElapsedTimer()
Method Detail

setStartTime

public void setStartTime()

setEndTime

public SystemElapsedTimer setEndTime()

getElapsedTime

public long getElapsedTime()

toString

public String toString()

writeElapsedTime

public void writeElapsedTime(PrintWriter writer,
                             String header)

main

public static void main(String[] args)

setET

public void setET(long h,
                  long m,
                  long s,
                  long n)

setET

public void setET(long givenET)

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.