org.apache.coyote

Class RequestGroupInfo


public class RequestGroupInfo
extends java.lang.Object

This can be moved to top level ( eventually with a better name ). It is currently used only as a JMX artifact, to agregate the data collected from each RequestProcessor thread.

Method Summary

void
addRequestProcessor(RequestInfo rp)
long
getBytesReceived()
long
getBytesSent()
int
getErrorCount()
long
getMaxTime()
long
getProcessingTime()
int
getRequestCount()
void
removeRequestProcessor(RequestInfo rp)
void
resetCounters()
void
setBytesReceived(long bytesReceived)
void
setBytesSent(long bytesSent)
void
setErrorCount(int errorCount)
void
setMaxTime(long maxTime)
void
setProcessingTime(long totalTime)
void
setRequestCount(int requestCount)

Method Details

addRequestProcessor

public void addRequestProcessor(RequestInfo rp)


getBytesReceived

public long getBytesReceived()


getBytesSent

public long getBytesSent()


getErrorCount

public int getErrorCount()


getMaxTime

public long getMaxTime()


getProcessingTime

public long getProcessingTime()


getRequestCount

public int getRequestCount()


removeRequestProcessor

public void removeRequestProcessor(RequestInfo rp)


resetCounters

public void resetCounters()


setBytesReceived

public void setBytesReceived(long bytesReceived)


setBytesSent

public void setBytesSent(long bytesSent)


setErrorCount

public void setErrorCount(int errorCount)


setMaxTime

public void setMaxTime(long maxTime)


setProcessingTime

public void setProcessingTime(long totalTime)


setRequestCount

public void setRequestCount(int requestCount)


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.