net.sf.jour.statistic
Class MethodAccumulation

java.lang.Object
  extended bynet.sf.jour.statistic.AccumulationItem
      extended bynet.sf.jour.statistic.AccumulationItmesList
          extended bynet.sf.jour.statistic.TimeBaseAccumulationList
              extended bynet.sf.jour.statistic.MethodAccumulation
All Implemented Interfaces:
Accumulation, AccumulationList

public class MethodAccumulation
extends TimeBaseAccumulationList

TODO Add docs Created on 13.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.4 $ ($Author: vlads $) $Date: 2004/12/16 17:40:19 $
Author:
vlads

Field Summary
static java.lang.String ATTRIBUTE_NAME
           
protected static org.apache.log4j.Logger log
           
 
Fields inherited from class net.sf.jour.statistic.TimeBaseAccumulationList
ATTRIBUTE_TIME_START
 
Constructor Summary
MethodAccumulation(java.lang.String name)
           
 
Method Summary
 void add(ProfilerEvent startMethodEvent, ProfilerEvent endMethodEvent)
           
 long getCount()
           
 long getExceptionCount()
           
 double getFirstExec()
           
 double getFirstRunElapsedTime()
           
 java.lang.String getName()
           
 void reset()
           
 void setFirstExec(double firstExec)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class net.sf.jour.statistic.TimeBaseAccumulationList
add, getCallPerMinute, getPeriod, getTimeFrame, onNewAccumulation, roundTimeStamp, setTimeFrame, timeStampKey
 
Methods inherited from class net.sf.jour.statistic.AccumulationItmesList
add, createAccumulation, getItem, getKeys
 
Methods inherited from class net.sf.jour.statistic.AccumulationItem
add, add, getAttribute, getMax, getMean, getMin, getStandardDeviation, getTotal, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jour.statistic.Accumulation
add, getAttribute, getMax, getMean, getMin, getStandardDeviation, getTotal, setAttribute
 

Field Detail

log

protected static final org.apache.log4j.Logger log

ATTRIBUTE_NAME

public static final java.lang.String ATTRIBUTE_NAME
See Also:
Constant Field Values
Constructor Detail

MethodAccumulation

public MethodAccumulation(java.lang.String name)
Method Detail

reset

public void reset()
Specified by:
reset in interface Accumulation
Overrides:
reset in class AccumulationItmesList

setName

public void setName(java.lang.String name)
Overrides:
setName in class TimeBaseAccumulationList

add

public void add(ProfilerEvent startMethodEvent,
                ProfilerEvent endMethodEvent)

getCount

public long getCount()
Specified by:
getCount in interface Accumulation
Overrides:
getCount in class AccumulationItem

getFirstRunElapsedTime

public double getFirstRunElapsedTime()

getName

public java.lang.String getName()
Specified by:
getName in interface Accumulation
Overrides:
getName in class TimeBaseAccumulationList

getFirstExec

public double getFirstExec()
Returns:
Returns the firstExec.

setFirstExec

public void setFirstExec(double firstExec)
Parameters:
firstExec - The firstExec to set.

getExceptionCount

public long getExceptionCount()
Returns:
Returns the exceptionCount.


Copyright © 2004 sourceforge. All Rights Reserved.