Class UpgradeInfo
java.lang.Object
org.apache.coyote.http11.upgrade.UpgradeInfo
Structure 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBytesReceived(long bytesReceived) voidaddBytesSent(long bytesSent) voidaddMsgsReceived(long msgsReceived) voidaddMsgsSent(long msgsSent) longlonglonglongvoidsetBytesReceived(long bytesReceived) voidsetBytesSent(long bytesSent) voidsetGroupInfo(UpgradeGroupInfo groupInfo) voidsetMsgsReceived(long msgsReceived) voidsetMsgsSent(long msgsSent)
-
Constructor Details
-
UpgradeInfo
public UpgradeInfo()
-
-
Method Details
-
getGlobalProcessor
-
setGroupInfo
-
getBytesSent
public long getBytesSent() -
setBytesSent
public void setBytesSent(long bytesSent) -
addBytesSent
public void addBytesSent(long bytesSent) -
getBytesReceived
public long getBytesReceived() -
setBytesReceived
public void setBytesReceived(long bytesReceived) -
addBytesReceived
public void addBytesReceived(long bytesReceived) -
getMsgsSent
public long getMsgsSent() -
setMsgsSent
public void setMsgsSent(long msgsSent) -
addMsgsSent
public void addMsgsSent(long msgsSent) -
getMsgsReceived
public long getMsgsReceived() -
setMsgsReceived
public void setMsgsReceived(long msgsReceived) -
addMsgsReceived
public void addMsgsReceived(long msgsReceived)
-