Top Description Fields Constructors Methods
org.apache.coyote

public Class RequestGroupInfo

extends BaseModelMBean
Class Inheritance
Imports
java.util.ArrayList, .List, org.apache.tomcat.util.modeler.BaseModelMBean

Only as a JMX artifact, to aggregate the data collected from each RequestProcessor thread.

Field Summary

Modifier and TypeField and Description
private long
private long
private int
private long
private long
private int
private final List<RequestInfo>
Inherited from org.apache.tomcat.util.modeler.BaseModelMBean:
attributeBroadcastergeneralBroadcastermanagedBeanonameresourceresourceType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
public synchronized long
public synchronized long
public synchronized int
public synchronized long
public synchronized long
public synchronized int
public synchronized void
public void
public synchronized void
setBytesReceived(long bytesReceived)

public synchronized void
setBytesSent(long bytesSent)

public synchronized void
setErrorCount(int errorCount)

public synchronized void
setMaxTime(long maxTime)

public synchronized void
setProcessingTime(long totalTime)

public synchronized void
setRequestCount(int requestCount)

Inherited from org.apache.tomcat.util.modeler.BaseModelMBean:
addAttributeChangeNotificationListeneraddNotificationListenergetAttributegetAttributesgetClassNamegetJmxNamegetManagedResourcegetMBeanInfogetModelerTypegetNotificationInfogetObjectNameinvokepostDeregisterpostRegisterpreDeregisterpreRegisterremoveAttributeChangeNotificationListenerremoveNotificationListenersendAttributeChangeNotificationsendAttributeChangeNotificationsendNotificationsendNotificationsetAttributesetAttributessetManagedBeansetManagedResourcetoString

Field Detail

deadBytesReceivedback to summary
private long deadBytesReceived
deadBytesSentback to summary
private long deadBytesSent
deadErrorCountback to summary
private int deadErrorCount
deadMaxTimeback to summary
private long deadMaxTime
deadProcessingTimeback to summary
private long deadProcessingTime
deadRequestCountback to summary
private int deadRequestCount
processorsback to summary
private final List<RequestInfo> processors

Constructor Detail

RequestGroupInfoback to summary
public RequestGroupInfo()

Method Detail

addRequestProcessorback to summary
public synchronized void addRequestProcessor(RequestInfo rp)
getBytesReceivedback to summary
public synchronized long getBytesReceived()
getBytesSentback to summary
public synchronized long getBytesSent()
getErrorCountback to summary
public synchronized int getErrorCount()
getMaxTimeback to summary
public synchronized long getMaxTime()
getProcessingTimeback to summary
public synchronized long getProcessingTime()
getRequestCountback to summary
public synchronized int getRequestCount()
removeRequestProcessorback to summary
public synchronized void removeRequestProcessor(RequestInfo rp)
resetCountersback to summary
public void resetCounters()
setBytesReceivedback to summary
public synchronized void setBytesReceived(long bytesReceived)
setBytesSentback to summary
public synchronized void setBytesSent(long bytesSent)
setErrorCountback to summary
public synchronized void setErrorCount(int errorCount)
setMaxTimeback to summary
public synchronized void setMaxTime(long maxTime)
setProcessingTimeback to summary
public synchronized void setProcessingTime(long totalTime)
setRequestCountback to summary
public synchronized void setRequestCount(int requestCount)