Package org.apache.coyote
Class RequestGroupInfo
- java.lang.Object
- 
- org.apache.coyote.RequestGroupInfo
 
- 
 public class RequestGroupInfo extends java.lang.ObjectThis can be moved to top level ( eventually with a better name ). It is currently used only as a JMX artifact, to aggregate the data collected from each RequestProcessor thread.
- 
- 
Constructor SummaryConstructors Constructor Description RequestGroupInfo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRequestProcessor(RequestInfo rp)longgetBytesReceived()longgetBytesSent()intgetErrorCount()longgetMaxTime()longgetProcessingTime()intgetRequestCount()voidremoveRequestProcessor(RequestInfo rp)voidresetCounters()voidsetBytesReceived(long bytesReceived)voidsetBytesSent(long bytesSent)voidsetErrorCount(int errorCount)voidsetMaxTime(long maxTime)voidsetProcessingTime(long totalTime)voidsetRequestCount(int requestCount)
 
- 
- 
- 
Method Detail- 
addRequestProcessorpublic void addRequestProcessor(RequestInfo rp) 
 - 
removeRequestProcessorpublic void removeRequestProcessor(RequestInfo rp) 
 - 
getMaxTimepublic long getMaxTime() 
 - 
setMaxTimepublic void setMaxTime(long maxTime) 
 - 
getProcessingTimepublic long getProcessingTime() 
 - 
setProcessingTimepublic void setProcessingTime(long totalTime) 
 - 
getRequestCountpublic int getRequestCount() 
 - 
setRequestCountpublic void setRequestCount(int requestCount) 
 - 
getErrorCountpublic int getErrorCount() 
 - 
setErrorCountpublic void setErrorCount(int errorCount) 
 - 
getBytesReceivedpublic long getBytesReceived() 
 - 
setBytesReceivedpublic void setBytesReceived(long bytesReceived) 
 - 
getBytesSentpublic long getBytesSent() 
 - 
setBytesSentpublic void setBytesSent(long bytesSent) 
 - 
resetCounterspublic void resetCounters() 
 
- 
 
-