Package org.apache.coyote
Class RequestGroupInfo
- java.lang.Object
-
- org.apache.coyote.RequestGroupInfo
-
public class RequestGroupInfo extends java.lang.ObjectOnly as a JMX artifact, to aggregate the data collected from each RequestProcessor thread.
-
-
Constructor Summary
Constructors Constructor Description RequestGroupInfo()
-
Method Summary
All 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
-
addRequestProcessor
public void addRequestProcessor(RequestInfo rp)
-
removeRequestProcessor
public void removeRequestProcessor(RequestInfo rp)
-
getMaxTime
public long getMaxTime()
-
setMaxTime
public void setMaxTime(long maxTime)
-
getProcessingTime
public long getProcessingTime()
-
setProcessingTime
public void setProcessingTime(long totalTime)
-
getRequestCount
public int getRequestCount()
-
setRequestCount
public void setRequestCount(int requestCount)
-
getErrorCount
public int getErrorCount()
-
setErrorCount
public void setErrorCount(int errorCount)
-
getBytesReceived
public long getBytesReceived()
-
setBytesReceived
public void setBytesReceived(long bytesReceived)
-
getBytesSent
public long getBytesSent()
-
setBytesSent
public void setBytesSent(long bytesSent)
-
resetCounters
public void resetCounters()
-
-