com.commsen.stopwatch.reports
Class MemoryStopwatchReport

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

public class MemoryStopwatchReport
extends DefaultStopwatchReport

This report contains additional memory usage statistics. It is used by MemoryStopwatchEngine;

Author:
Milen Dyankov
See Also:
Serialized Form

Constructor Summary
MemoryStopwatchReport(java.lang.String group, java.lang.String name, long count, double fastest, double slowest, double average, double total, long minMemory, long maxMemory, long averageMemory)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 long getAverageMemory()
           
 long getMaxMemory()
           
 long getMinMemory()
           
 int hashCode()
           
 java.lang.String toString()
          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

MemoryStopwatchReport

public MemoryStopwatchReport(java.lang.String group,
                             java.lang.String name,
                             long count,
                             double fastest,
                             double slowest,
                             double average,
                             double total,
                             long minMemory,
                             long maxMemory,
                             long averageMemory)
Parameters:
group -
name -
count -
fastest -
slowest -
average -
total -
minMemory -
maxMemory -
averageMemory -
Method Detail

toString

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

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

getAverageMemory

public long getAverageMemory()
Returns:
Returns the averageMemory.

getMaxMemory

public long getMaxMemory()
Returns:
Returns the maxMemory.

getMinMemory

public long getMinMemory()
Returns:
Returns the minMemory.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class DefaultStopwatchReport


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