net.java.dev.moskito.core.predefined
Class ServletStats

java.lang.Object
  extended by net.java.dev.moskito.core.producers.AbstractStats
      extended by net.java.dev.moskito.core.predefined.RequestOrientedStats
          extended by net.java.dev.moskito.core.predefined.ServletStats
All Implemented Interfaces:
IStats
Direct Known Subclasses:
FilterStats

public class ServletStats
extends RequestOrientedStats


Field Summary
private  StatValue ioExceptions
          Errors occured in this method / class and caught by the surrounding stub/skeleton.
private  StatValue runtimeExceptions
           
private  StatValue servletExceptions
           
 
Constructor Summary
ServletStats()
           
ServletStats(String aMethodName)
          Creates a new MethodStats object with the given method name.
ServletStats(String aMethodName, Interval[] intervals)
           
 
Method Summary
 long getIoExceptions()
           
 long getIoExceptions(String interval)
           
 long getRuntimeExceptions()
           
 long getRuntimeExceptions(String interval)
           
 long getServletExceptions()
           
 long getServletExceptions(String interval)
           
private  void initializeMe()
           
 void notifyIOException()
           
 void notifyRuntimeException()
           
 void notifyServletException()
           
 String toStatsString(String intervalName)
          This method creates a human-readable textual representation of all statistical values in the given interval.
 
Methods inherited from class net.java.dev.moskito.core.predefined.RequestOrientedStats
addExecutionTime, addRequest, getAverageRequestDuration, getAverageRequestDuration, getCurrentRequests, getCurrentRequests, getErrors, getErrors, getLastRequest, getLastRequest, getMaxCurrentRequests, getMaxCurrentRequests, getMaxTime, getMethodName, getMinTime, getName, getSelectedIntervals, getTotalRequests, getTotalRequests, getTotalTime, getTotalTime, notifyError, notifyRequestFinished, setMethodName, setSelectedIntervals, toString, toString
 
Methods inherited from class net.java.dev.moskito.core.producers.AbstractStats
createSnapshot, toStatsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ioExceptions

private StatValue ioExceptions
Errors occured in this method / class and caught by the surrounding stub/skeleton.


servletExceptions

private StatValue servletExceptions

runtimeExceptions

private StatValue runtimeExceptions
Constructor Detail

ServletStats

public ServletStats(String aMethodName)
Creates a new MethodStats object with the given method name.

Parameters:
aMethodName -

ServletStats

public ServletStats()

ServletStats

public ServletStats(String aMethodName,
                    Interval[] intervals)
Method Detail

initializeMe

private void initializeMe()

toStatsString

public String toStatsString(String intervalName)
Description copied from interface: IStats
This method creates a human-readable textual representation of all statistical values in the given interval.

Specified by:
toStatsString in interface IStats
Overrides:
toStatsString in class RequestOrientedStats
Parameters:
intervalName - the name of the interval or null for all intervals
Returns:
the formatted text output

notifyServletException

public void notifyServletException()

notifyIOException

public void notifyIOException()

notifyRuntimeException

public void notifyRuntimeException()

getIoExceptions

public long getIoExceptions()

getRuntimeExceptions

public long getRuntimeExceptions()

getServletExceptions

public long getServletExceptions()

getIoExceptions

public long getIoExceptions(String interval)

getRuntimeExceptions

public long getRuntimeExceptions(String interval)

getServletExceptions

public long getServletExceptions(String interval)


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework