Package org.apache.coyote
Class RequestGroupInfo
java.lang.Object
org.apache.tomcat.util.modeler.BaseModelMBean
org.apache.coyote.RequestGroupInfo
- All Implemented Interfaces:
- DynamicMBean,- MBeanRegistration,- ModelMBeanNotificationBroadcaster,- NotificationBroadcaster
Only as a JMX artifact, to aggregate the data collected from each RequestProcessor thread.
- 
Field SummaryFields inherited from class org.apache.tomcat.util.modeler.BaseModelMBeanattributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidlonglongintlonglongintvoidvoidvoidsetBytesReceived(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
- 
Constructor Details- 
RequestGroupInfopublic RequestGroupInfo()
 
- 
- 
Method Details- 
addRequestProcessor
- 
removeRequestProcessor
- 
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()
 
-