Top Description Fields Constructors Methods
org.apache.coyote.http11.upgrade

public Class UpgradeGroupInfo

extends BaseModelMBean
Class Inheritance
Imports
java.util.Set, java.util.concurrent.ConcurrentHashMap, java.util.concurrent.atomic.LongAdder, org.apache.tomcat.util.modeler.BaseModelMBean

This aggregates the data collected from each UpgradeInfo instance.

Field Summary

Modifier and TypeField and Description
private LongAdder
private LongAdder
private LongAdder
private LongAdder
private final Set<UpgradeInfo>
Inherited from org.apache.tomcat.util.modeler.BaseModelMBean:
attributeBroadcastergeneralBroadcastermanagedBeanonameresourceresourceType

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

public void
setBytesSent(long bytesSent)

public void
setMsgsReceived(long msgsReceived)

public void
setMsgsSent(long msgsSent)

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

Field Detail

deadBytesReceivedback to summary
private LongAdder deadBytesReceived
deadBytesSentback to summary
private LongAdder deadBytesSent
deadMsgsReceivedback to summary
private LongAdder deadMsgsReceived
deadMsgsSentback to summary
private LongAdder deadMsgsSent
upgradeInfosback to summary
private final Set<UpgradeInfo> upgradeInfos

Constructor Detail

UpgradeGroupInfoback to summary
public UpgradeGroupInfo()

Method Detail

addUpgradeInfoback to summary
public void addUpgradeInfo(UpgradeInfo ui)
getBytesReceivedback to summary
public long getBytesReceived()
getBytesSentback to summary
public long getBytesSent()
getMsgsReceivedback to summary
public long getMsgsReceived()
getMsgsSentback to summary
public long getMsgsSent()
removeUpgradeInfoback to summary
public void removeUpgradeInfo(UpgradeInfo ui)
resetCountersback to summary
public void resetCounters()
setBytesReceivedback to summary
public void setBytesReceived(long bytesReceived)
setBytesSentback to summary
public void setBytesSent(long bytesSent)
setMsgsReceivedback to summary
public void setMsgsReceived(long msgsReceived)
setMsgsSentback to summary
public void setMsgsSent(long msgsSent)