org.ow2.jasmine.monitoring.mbeancmd.sampling
Class ServletData
java.lang.Object
org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData
org.ow2.jasmine.monitoring.mbeancmd.sampling.ServletData
public class ServletData
- extends SampleData
Data retrieved from servlets.
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData |
getAttribute, getAttributeAsDouble, getAttributeAsInt, getAttributeAsLong, getDomain, getJmxURL, getName, getObjectName, getPrintHeader, getSampleTime, getSeparator, getServer, isValid, printData, setAttribute, setObjectName, setSampleTime, setSeparator, setServerInfo, setValid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletData
public ServletData()
compute
public void compute(SampleData needs_cast)
- Implementation of inherited abstract method.
- Specified by:
compute in class SampleData
- Parameters:
needs_cast - Previous measurement.- See Also:
SampleData.compute(SampleData)
getInnerPrintHeader
protected java.lang.String getInnerPrintHeader()
- Implementation of inherited abstract method.
- Specified by:
getInnerPrintHeader in class SampleData
- Returns:
- The inner (specialized) part of the header for this data type.
- See Also:
SampleData.getInnerPrintHeader()
getInnerPrintData
protected java.lang.String getInnerPrintData()
- Implementation of inherited abstract method.
- Specified by:
getInnerPrintData in class SampleData
- Returns:
- The inner (specialized) part of the data for this data type.
- See Also:
SampleData.getInnerPrintData()
getValueOfAttributes
public java.util.Map<java.lang.String,?> getValueOfAttributes()
- Overrides:
getValueOfAttributes in class SampleData
getRequestCount
public int getRequestCount()
- Returns:
- Request count.
setRequestCount
public void setRequestCount(int requestCount)
- Parameters:
requestCount - Request count.
getErrorCount
public int getErrorCount()
- Returns:
- Error count.
setErrorCount
public void setErrorCount(int errorCount)
- Parameters:
errorCount - Error count.
getProcessingTime
public long getProcessingTime()
- Returns:
- Processing time.
setProcessingTime
public void setProcessingTime(long processingTime)
- Parameters:
processingTime - Processing time.
getMaxTime
public long getMaxTime()
- Returns:
- Maximal processing time.
setMaxTime
public void setMaxTime(long maxTime)
- Parameters:
maxTime - Maximal processing time.
getMinTime
public long getMinTime()
- Returns:
- Minimal processing time.
setMinTime
public void setMinTime(long minTime)
- Parameters:
minTime - Minimal processing time.
getRequestRate
public double getRequestRate()
- Returns:
- Request rate (computed).
setRequestRate
protected void setRequestRate(double requestRate)
- Parameters:
requestRate - Request rate (computed).
getErrorRate
public double getErrorRate()
- Returns:
- Error rate (computed).
setErrorRate
protected void setErrorRate(double errorRate)
- Parameters:
errorRate - Error rate (computed).
getProcTimeReq
public double getProcTimeReq()
- Returns:
- Process time per request (computed).
setProcTimeReq
protected void setProcTimeReq(double procTimeReq)
- Parameters:
procTimeReq - Process time per request (computed).
Copyright © 2010 OW2 Consortium. All Rights Reserved.