net.sf.jour.rt.swingmonitor
Class MethodExceutionStatistics

java.lang.Object
  extended bynet.sf.jour.rt.swingmonitor.MethodExceutionStatistics
All Implemented Interfaces:
java.io.Serializable

public class MethodExceutionStatistics
extends java.lang.Object
implements java.io.Serializable

TODO ... Created on 04.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.19 $ ($Author: vlads $) $Date: 2004/12/17 04:17:46 $
Author:
michaellif
See Also:
Serialized Form

Field Summary
static java.lang.String[] columnNames
           
(package private)  long countTotal
           
protected static org.apache.log4j.Logger log
           
(package private)  TimeBaseAccumulationList totals
           
 
Constructor Summary
MethodExceutionStatistics(ViewFilter viewFilter)
           
 
Method Summary
 void addStartedMethodEvent(ProfilerEvent event)
           
 long getCountTotal()
           
 MethodAccumulation getMethodStat(java.lang.Object methodId, ProfilerEvent endMethodEvent, MatchFilter filter)
           
 java.lang.Object[][] getReport()
          DOCUMENT ME!
 TimeBaseAccumulationList getTotals()
           
 java.lang.String getUiMethodSignature(ProfilerEvent endMethodEvent)
           
 boolean processEvent(ProfilerEvent event, MatchFilter filter)
          DOCUMENT ME!
 void recalcMethodStat(ProfilerEvent endMethodEvent, MatchFilter filter)
           
 void reset()
           
 boolean saveReport(java.io.File file, java.lang.Object[][] data)
           
 void writeCSV(java.io.BufferedWriter bw, java.lang.Object[] line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log

totals

TimeBaseAccumulationList totals

columnNames

public static final java.lang.String[] columnNames

countTotal

long countTotal
Constructor Detail

MethodExceutionStatistics

public MethodExceutionStatistics(ViewFilter viewFilter)
Method Detail

getCountTotal

public long getCountTotal()
Returns:
Returns the countTotal.

processEvent

public boolean processEvent(ProfilerEvent event,
                            MatchFilter filter)
DOCUMENT ME!


recalcMethodStat

public void recalcMethodStat(ProfilerEvent endMethodEvent,
                             MatchFilter filter)

addStartedMethodEvent

public void addStartedMethodEvent(ProfilerEvent event)

getMethodStat

public MethodAccumulation getMethodStat(java.lang.Object methodId,
                                        ProfilerEvent endMethodEvent,
                                        MatchFilter filter)

getReport

public java.lang.Object[][] getReport()
DOCUMENT ME!

Returns:
DOCUMENT ME!

writeCSV

public void writeCSV(java.io.BufferedWriter bw,
                     java.lang.Object[] line)
              throws java.io.IOException
Throws:
java.io.IOException

saveReport

public boolean saveReport(java.io.File file,
                          java.lang.Object[][] data)

reset

public void reset()

getUiMethodSignature

public java.lang.String getUiMethodSignature(ProfilerEvent endMethodEvent)

getTotals

public TimeBaseAccumulationList getTotals()
Returns:
Returns the totals.


Copyright © 2004 sourceforge. All Rights Reserved.