Class PerformanceStats


  • public class PerformanceStats
    extends java.lang.Object
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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​(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.