Class PerfEntryList


  • public class PerfEntryList
    extends java.lang.Object
    PerfEntryList class represents the Performance Entry pool.
    • Constructor Detail

      • PerfEntryList

        public PerfEntryList()
    • Method Detail

      • addPerfEntry

        public void addPerfEntry​(PerfEntry entry)
        Add a performance entry to the pool
        Parameters:
        entry - Performance entry to be added to the pool
      • perfEntryExists

        public boolean perfEntryExists​(java.lang.String key)
        Checks if the object corresponding to the key exists
        Parameters:
        key - key to the object
        Returns:
        boolean true if exists
      • getPerfEntry

        public PerfEntry getPerfEntry​(java.lang.String key)
        Returns the Performance entry object for a given key
        Parameters:
        key - key to the object
      • getAllPerfEntries

        public java.util.Enumeration<PerfEntry> getAllPerfEntries()
        Checks all the objects in the pool
        Returns:
        Enumneration of Performance entries in pool
      • findPerfPair

        public PerfEntry findPerfPair​(PerfEntry newEntry)
        Locates the PerfEntry in BEGIN mode for the corresponding Perfentry in pool
        Parameters:
        newEntry - Entry to find pair
        Returns:
        PerfEntry if found else null
      • clearAllPerfEntrys

        public void clearAllPerfEntrys()
        Cleans the pool
      • deletePerfEntry

        public void deletePerfEntry​(java.lang.String key)
        Deletes a particular perfEntry object from the pool
        Parameters:
        key - Hastable key
      • dumpAllPerfEntries

        public void dumpAllPerfEntries()
        Dumps all the Perfentries in the pool