|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable atg.service.perfmonitor.PerformanceHashtable
public class PerformanceHashtable
This class stores the performance objects for operations. Also, it stores the totals for all the parameterized operations stored within the hash.
When endOperation is called, it gets the PerformanceStackData object. Some calculations are performed and then the totals are put into a PerformanceData object which is stored into this hashtable. The totals from this object are also added to the PerformanceData object contained within this object.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
PerformanceHashtable()
Constructs a PerformanceStack object. |
|
PerformanceHashtable(int initialCapacity)
Constructs a PerformanceStack object. |
|
PerformanceHashtable(int initialCapacity,
float loadFactor)
Constructs a PerformanceStack object. |
Method Summary | |
---|---|
PerformanceData |
getPerformanceTotals()
Returns property totals |
void |
increaseTotalExecutionTime(long pTime)
Increases the totalExecutionTime in the global PerformanceData object by the amount in pTime. |
void |
increaseTotalMemoryRequired(double pMemory)
Increases the totalMemoryRequired in the global PerformanceData object by the amount in pMemory. |
void |
reset()
Resets the properties of all the PerformanceData objects contained within the hashtable. |
void |
resetMemoryData()
Resets the memory properties of all the PerformanceData objects contained within the hashtable. |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PerformanceHashtable()
public PerformanceHashtable(int initialCapacity)
public PerformanceHashtable(int initialCapacity, float loadFactor)
Method Detail |
---|
public void increaseTotalExecutionTime(long pTime)
pTime
- the amount to increment totalExecutionTime by.public void increaseTotalMemoryRequired(double pMemory)
pMemory
- the amount to increment totalMemoryRequired by.public void reset()
public void resetMemoryData()
public PerformanceData getPerformanceTotals()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |