Package com.ibm.di.performance
Class PerformanceStats
- java.lang.Object
-
- com.ibm.di.performance.PerformanceStats
-
public class PerformanceStats extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description PerfEntryList
entryList
-
Constructor Summary
Constructors Constructor Description PerformanceStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanPerfStats()
Cleanup the Performance Stats List for a particular AssemblyLine.java.lang.String
dumpPerfStats()
Dumps the Timestamp and Memory usage.java.util.Enumeration
getAllResultStats()
Get a list of all the entries in the pool.java.lang.String
getPerfStats(java.lang.String component)
Returns the performance statistics for a component.void
initPerfStats()
Initializes the Performance Recording for a particular AssemblyLine.void
startPerfRecording(java.lang.String component)
Starts the Performance Recording for a particular component.java.lang.String
stopPerfRecording(java.lang.String Component)
Stops the Performance Recording for a particular component.
-
-
-
Field Detail
-
entryList
public PerfEntryList entryList
-
-
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(java.lang.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 java.lang.String stopPerfRecording(java.lang.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 java.lang.String dumpPerfStats()
Dumps the Timestamp and Memory usage.- Returns:
- Returns a String containing a dump of the performance statistics.
-
getAllResultStats
public java.util.Enumeration getAllResultStats()
Get a list of all the entries in the pool.- Returns:
- An Enumeration of all the entries in the pool.
-
getPerfStats
public java.lang.String getPerfStats(java.lang.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.
-
-