Package org.apache.coyote
Class RequestGroupInfo
- java.lang.Object
- 
- org.apache.tomcat.util.modeler.BaseModelMBean
- 
- org.apache.coyote.RequestGroupInfo
 
 
- 
- All Implemented Interfaces:
- javax.management.DynamicMBean,- javax.management.MBeanRegistration,- javax.management.modelmbean.ModelMBeanNotificationBroadcaster,- javax.management.NotificationBroadcaster
 
 public class RequestGroupInfo extends BaseModelMBean Only as a JMX artifact, to aggregate the data collected from each RequestProcessor thread.
- 
- 
Field Summary- 
Fields inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanattributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
 
- 
 - 
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)- 
Methods inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanaddAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, invoke, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedBean, setManagedResource, toString
 
- 
 
- 
- 
- 
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() 
 
- 
 
-