Package org.apache.coyote.http11.upgrade
Class UpgradeInfo
- java.lang.Object
- 
- org.apache.coyote.http11.upgrade.UpgradeInfo
 
- 
 public class UpgradeInfo extends java.lang.ObjectStructure to hold statistical information about connections that have been established using the HTTP/1.1 upgrade mechanism. Bytes sent/received will always be populated. Messages sent/received will be populated if that makes sense for the protocol and the information is exposed by the protocol implementation.
- 
- 
Constructor SummaryConstructors Constructor Description UpgradeInfo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBytesReceived(long bytesReceived)voidaddBytesSent(long bytesSent)voidaddMsgsReceived(long msgsReceived)voidaddMsgsSent(long msgsSent)longgetBytesReceived()longgetBytesSent()UpgradeGroupInfogetGlobalProcessor()longgetMsgsReceived()longgetMsgsSent()voidsetBytesReceived(long bytesReceived)voidsetBytesSent(long bytesSent)voidsetGroupInfo(UpgradeGroupInfo groupInfo)voidsetMsgsReceived(long msgsReceived)voidsetMsgsSent(long msgsSent)
 
- 
- 
- 
Method Detail- 
getGlobalProcessorpublic UpgradeGroupInfo getGlobalProcessor() 
 - 
setGroupInfopublic void setGroupInfo(UpgradeGroupInfo groupInfo) 
 - 
getBytesSentpublic long getBytesSent() 
 - 
setBytesSentpublic void setBytesSent(long bytesSent) 
 - 
addBytesSentpublic void addBytesSent(long bytesSent) 
 - 
getBytesReceivedpublic long getBytesReceived() 
 - 
setBytesReceivedpublic void setBytesReceived(long bytesReceived) 
 - 
addBytesReceivedpublic void addBytesReceived(long bytesReceived) 
 - 
getMsgsSentpublic long getMsgsSent() 
 - 
setMsgsSentpublic void setMsgsSent(long msgsSent) 
 - 
addMsgsSentpublic void addMsgsSent(long msgsSent) 
 - 
getMsgsReceivedpublic long getMsgsReceived() 
 - 
setMsgsReceivedpublic void setMsgsReceived(long msgsReceived) 
 - 
addMsgsReceivedpublic void addMsgsReceived(long msgsReceived) 
 
- 
 
-