com.ibm.di.performance
Class PerformanceStats

java.lang.Object
  extended by com.ibm.di.performance.PerformanceStats

public class PerformanceStats
extends Object


Field Summary
 PerfEntryList entryList
           
 
Constructor Summary
PerformanceStats()
           
 
Method Summary
 void cleanPerfStats()
          Cleanup the Performance Stats List for a particular AssemblyLine.
 String dumpPerfStats()
          Dumps the Timestamp and Memory usage.
 Enumeration getAllResultStats()
          Get a list of all the entries in the pool.
 String getPerfStats(String component)
          Returns the performance statistics for a component.
 void initPerfStats()
          Initializes the Performance Recording for a particular AssemblyLine.
 void startPerfRecording(String component)
          Starts the Performance Recording for a particular component.
 String stopPerfRecording(String Component)
          Stops the Performance Recording for a particular component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entryList

public PerfEntryList entryList
Constructor Detail

PerformanceStats

public PerformanceStats()
Method Detail

initPerfStats

public void initPerfStats()
Initializes the Performance Recording for a particular AssemblyLine.


cleanPerfStats

public void cleanPerfStats()
Cleanup the Performance Stats List for a particular AssemblyLine.


startPerfRecording

public void startPerfRecording(String component)
Starts the Performance Recording for a particular component.

Parameters:
component - This is a unique value which will be set, usually to indicate the location from where the recording is started

stopPerfRecording

public String stopPerfRecording(String Component)
Stops the Performance Recording for a particular component. The corresponding startPerfRecording(Comonent) must be started before stopping Performance Recording.

Parameters:
Component - This is a unique value which will be set, usually to indicate the location from where the recording is started.
Returns:
The performance statistics for the component.

dumpPerfStats

public String dumpPerfStats()
Dumps the Timestamp and Memory usage.

Returns:
Returns a String containing a dump of the performance statistics.

getAllResultStats

public Enumeration getAllResultStats()
Get a list of all the entries in the pool.

Returns:
An Enumeration of all the entries in the pool.

getPerfStats

public String getPerfStats(String component)
Returns the performance statistics for a component.

Parameters:
component - The name of the component to get the performance statistics for.
Returns:
A String containing the performance statistics of the specified component.