com.ibm.di.performance
Class PerfEntryList

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

public class PerfEntryList
extends Object

PerfEntryList class represents the Performance Entry pool.


Constructor Summary
PerfEntryList()
           
 
Method Summary
 void addPerfEntry(PerfEntry entry)
          Add a performance entry to the pool
 void clearAllPerfEntrys()
          Cleans the pool
 void deletePerfEntry(String key)
          Deletes a particular perfEntry object from the pool
 void dumpAllPerfEntries()
          Dumps all the Perfentris in the pool
 PerfEntry findPerfPair(PerfEntry newEntry)
          Locates the PerfEntry in BEGIN mode for the corresponding Perfentry in pool
 Enumeration getAllPerfEntries()
          Checks all the objects in the pool
 PerfEntry getPerfEntry(String key)
          Returns the Performance entry object for a given key
 boolean perfEntryExists(String key)
          Checks if the object corresponding to the key exists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(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(String key)
Returns the Performance entry object for a given key

Parameters:
key - key to the object

getAllPerfEntries

public Enumeration 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(String key)
Deletes a particular perfEntry object from the pool

Parameters:
key - Hastable key

dumpAllPerfEntries

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