Package com.ibm.di.performance
Class PerfEntryList
- java.lang.Object
-
- com.ibm.di.performance.PerfEntryList
-
public class PerfEntryList extends java.lang.Object
PerfEntryList class represents the Performance Entry pool.
-
-
Constructor Summary
Constructors Constructor Description PerfEntryList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPerfEntry(PerfEntry entry)
Add a performance entry to the poolvoid
clearAllPerfEntrys()
Cleans the poolvoid
deletePerfEntry(java.lang.String key)
Deletes a particular perfEntry object from the poolvoid
dumpAllPerfEntries()
Dumps all the Perfentries in the poolPerfEntry
findPerfPair(PerfEntry newEntry)
Locates the PerfEntry in BEGIN mode for the corresponding Perfentry in pooljava.util.Enumeration<PerfEntry>
getAllPerfEntries()
Checks all the objects in the poolPerfEntry
getPerfEntry(java.lang.String key)
Returns the Performance entry object for a given keyboolean
perfEntryExists(java.lang.String key)
Checks if the object corresponding to the key exists
-
-
-
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
-
-