net.java.dev.moskito.core.predefined
Class ServletStats
java.lang.Object
net.java.dev.moskito.core.producers.AbstractStats
net.java.dev.moskito.core.predefined.RequestOrientedStats
net.java.dev.moskito.core.predefined.ServletStats
- All Implemented Interfaces:
- IStats
- Direct Known Subclasses:
- FilterStats
public class ServletStats
- extends RequestOrientedStats
| 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 |
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
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)
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