com.commsen.stopwatch.reports
Class LoadStopwatchReport

java.lang.Object
  extended by com.commsen.stopwatch.reports.DefaultStopwatchReport
      extended by com.commsen.stopwatch.reports.LoadStopwatchReport
All Implemented Interfaces:
Report, java.io.Serializable, java.lang.Comparable

Deprecated. new method Stopwatch.getLoad(int, int) introduced in version 0.3

public class LoadStopwatchReport
extends DefaultStopwatchReport

This report contains additional "load" statistics. The value of "load" shows how many instances of the code being measured are running simultaneously. This report is udes by com.commsen.stopwatch.engines.LoadStopwatchEngine

Author:
Milen Dyankov
See Also:
Serialized Form

Constructor Summary
LoadStopwatchReport(java.lang.String group, java.lang.String label, long count, long minTime, long maxTime, long averageTime, long totalTime, long minLoad, long maxLoad, long averageLoad)
          Deprecated.  
 
Method Summary
 boolean equals(java.lang.Object obj)
          Deprecated.  
 long getAverageLoad()
          Deprecated.  
 long getMaxLoad()
          Deprecated.  
 long getMinLoad()
          Deprecated.  
 int hashCode()
          Deprecated.  
 java.lang.String toString()
          Deprecated. Generates string representation of this report
 
Methods inherited from class com.commsen.stopwatch.reports.DefaultStopwatchReport
compareTo, getAverageTime, getCount, getGroup, getLabel, getMaxTime, getMinTime, getTotalTime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadStopwatchReport

public LoadStopwatchReport(java.lang.String group,
                           java.lang.String label,
                           long count,
                           long minTime,
                           long maxTime,
                           long averageTime,
                           long totalTime,
                           long minLoad,
                           long maxLoad,
                           long averageLoad)
Deprecated. 
Parameters:
group -
label -
count -
minTime -
maxTime -
averageTime -
totalTime -
minLoad -
maxLoad -
averageLoad -
Method Detail

toString

public java.lang.String toString()
Deprecated. 
Generates string representation of this report

Overrides:
toString in class DefaultStopwatchReport
See Also:
Object.toString()

getAverageLoad

public long getAverageLoad()
Deprecated. 
Returns:
Returns the averageLoad.

getMaxLoad

public long getMaxLoad()
Deprecated. 
Returns:
Returns the maxLoad.

getMinLoad

public long getMinLoad()
Deprecated. 
Returns:
Returns the minLoad.

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Overrides:
equals in class DefaultStopwatchReport

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class DefaultStopwatchReport


Copyright © 2006-2008 Commsen International. All Rights Reserved.