|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.service.perfmonitor.PerformanceData
public class PerformanceData
This object contains the values for minimum, maximum, total executions, and total execution time for an operation. When an operation completes, the total execution time is determined and passed to this object. The increaseTotalExecutionTime method is called with the time in milliseconds passed as the argument. Based on this information, the properties of this object are updated.
The properties of this object are definied as follows:
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
PerformanceData()
Constructs a PerformanceData object. |
Method Summary | |
---|---|
long |
getAverageExecutionTime()
Returns property averageExecutionTime |
double |
getAverageMemoryRequired()
Returns property averageMemoryRequired |
long |
getMaximumExecutionTime()
Returns property maximumExecutionTime |
double |
getMaximumMemoryRequired()
Returns property maximumMemoryRequired |
long |
getMemTotalNumberOfExecutions()
Returns property memTotalNumberOfExecutions |
long |
getMinimumExecutionTime()
Returns property minimumExecutionTime |
double |
getMinimumMemoryRequired()
Returns property minimumMemoryRequired |
long |
getTotalExecutionTime()
Returns property totalExecutionTime |
double |
getTotalMemoryRequired()
Returns property totalMemoryRequired |
long |
getTotalNumberOfExecutions()
Returns property totalNumberOfExecutions |
void |
increaseTotalExecutionTime(long pTime)
Increases the totalExecutionTime by the amount in pTime. |
void |
increaseTotalMemoryRequired(double pMemory)
Increases the totalMemoryRequired by the amount in pMemory. |
void |
reset()
Resets the properties of this object back to their defaults |
void |
resetMemoryData()
Resets the properties of this object back to their defaults |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PerformanceData()
Method Detail |
---|
public void increaseTotalExecutionTime(long pTime)
pTime
- the amount to increment mTotalExecutionTime by.public void increaseTotalMemoryRequired(double pMemory)
pMemory
- the amount to increment mTotalMemoryRequired by.public void reset()
reset
in interface Resetable
public void resetMemoryData()
public long getMinimumExecutionTime()
public long getMaximumExecutionTime()
public long getTotalNumberOfExecutions()
public long getTotalExecutionTime()
public long getAverageExecutionTime()
public long getMemTotalNumberOfExecutions()
public double getMinimumMemoryRequired()
public double getMaximumMemoryRequired()
public double getTotalMemoryRequired()
public double getAverageMemoryRequired()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |