Package org.apache.coyote.http11.upgrade
Class UpgradeGroupInfo
java.lang.Object
org.apache.tomcat.util.modeler.BaseModelMBean
org.apache.coyote.http11.upgrade.UpgradeGroupInfo
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,ModelMBeanNotificationBroadcaster,NotificationBroadcaster
This aggregates the data collected from each UpgradeInfo instance.
-
Field Summary
Fields inherited from class org.apache.tomcat.util.modeler.BaseModelMBean
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlonglonglonglongvoidvoidvoidsetBytesReceived(long bytesReceived) voidsetBytesSent(long bytesSent) voidsetMsgsReceived(long msgsReceived) voidsetMsgsSent(long msgsSent) Methods inherited from class org.apache.tomcat.util.modeler.BaseModelMBean
addAttributeChangeNotificationListener, 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
-
UpgradeGroupInfo
public UpgradeGroupInfo()
-
-
Method Details
-
addUpgradeInfo
-
removeUpgradeInfo
-
getBytesReceived
public long getBytesReceived() -
setBytesReceived
public void setBytesReceived(long bytesReceived) -
getBytesSent
public long getBytesSent() -
setBytesSent
public void setBytesSent(long bytesSent) -
getMsgsReceived
public long getMsgsReceived() -
setMsgsReceived
public void setMsgsReceived(long msgsReceived) -
getMsgsSent
public long getMsgsSent() -
setMsgsSent
public void setMsgsSent(long msgsSent) -
resetCounters
public void resetCounters()
-