|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData<ServletData>
org.ow2.jasmine.monitoring.mbeancmd.sampling.ServletData
public class ServletData
Data retrieved from servlets.
Field Summary | |
---|---|
private int |
errorCount
Error count. |
private double |
errorRate
Error rate (computed). |
private static java.lang.String |
header
Default output header. |
private long |
maxTime
Maximal processing time. |
private long |
minTime
Minimal processing time. |
private long |
processingTime
Processing time. |
private double |
procTimeReq
Process time per request (computed). |
private int |
requestCount
Request count. |
private double |
requestRate
Request rate (computed). |
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData |
---|
decimalFormat |
Constructor Summary | |
---|---|
ServletData()
|
Method Summary | |
---|---|
void |
compute(ServletData prev)
Implementation of inherited abstract method. |
int |
getErrorCount()
|
double |
getErrorRate()
|
protected java.lang.String |
getInnerPrintData()
Implementation of inherited abstract method. |
protected java.lang.String |
getInnerPrintHeader()
Implementation of inherited abstract method. |
long |
getMaxTime()
|
long |
getMinTime()
|
long |
getProcessingTime()
|
double |
getProcTimeReq()
|
int |
getRequestCount()
|
double |
getRequestRate()
|
void |
setErrorCount(int errorCount)
|
protected void |
setErrorRate(double errorRate)
|
void |
setMaxTime(long maxTime)
|
void |
setMinTime(long minTime)
|
void |
setProcessingTime(long processingTime)
|
protected void |
setProcTimeReq(double procTimeReq)
|
void |
setRequestCount(int requestCount)
|
protected void |
setRequestRate(double requestRate)
|
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData |
---|
getAttribute, getAttributeAsDouble, getAttributeAsInt, getAttributeAsLong, getPrintHeader, getSampleTime, getSeparator, getServerDomain, getServerName, 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 |
Field Detail |
---|
private int requestCount
private int errorCount
private long processingTime
private long maxTime
private long minTime
private double requestRate
private double errorRate
private double procTimeReq
private static final java.lang.String header
Constructor Detail |
---|
public ServletData()
Method Detail |
---|
public void compute(ServletData prev)
compute
in class SampleData<ServletData>
prev
- Previous measurement.SampleData.compute(SampleData)
protected java.lang.String getInnerPrintHeader()
getInnerPrintHeader
in class SampleData<ServletData>
SampleData.getInnerPrintHeader()
protected java.lang.String getInnerPrintData()
getInnerPrintData
in class SampleData<ServletData>
SampleData.getInnerPrintData()
public int getRequestCount()
public void setRequestCount(int requestCount)
requestCount
- Request count.public int getErrorCount()
public void setErrorCount(int errorCount)
errorCount
- Error count.public long getProcessingTime()
public void setProcessingTime(long processingTime)
processingTime
- Processing time.public long getMaxTime()
public void setMaxTime(long maxTime)
maxTime
- Maximal processing time.public long getMinTime()
public void setMinTime(long minTime)
minTime
- Minimal processing time.public double getRequestRate()
protected void setRequestRate(double requestRate)
requestRate
- Request rate (computed).public double getErrorRate()
protected void setErrorRate(double errorRate)
errorRate
- Error rate (computed).public double getProcTimeReq()
protected void setProcTimeReq(double procTimeReq)
procTimeReq
- Process time per request (computed).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |