Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm
Class ISeriesElapsedTimer

java.lang.Object
  extended by com.ibm.etools.iseries.comm.ISeriesElapsedTimer

public class ISeriesElapsedTimer
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
ISeriesElapsedTimer()
           
 
Method Summary
 long getElapsedTime()
           
static void main(String[] args)
           
 void 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

ISeriesElapsedTimer

public ISeriesElapsedTimer()
Method Detail

setStartTime

public void setStartTime()

setEndTime

public void setEndTime()

getElapsedTime

public long getElapsedTime()

toString

public String toString()
Overrides:
toString in class Object

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)

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.