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

public Class UpgradeInfo

extends Object
Class Inheritance

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.

Field Summary

Modifier and TypeField and Description
private volatile long
private volatile long
private UpgradeGroupInfo
private volatile long
private volatile long

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

public void
addBytesSent(long bytesSent)

public void
addMsgsReceived(long msgsReceived)

public void
addMsgsSent(long msgsSent)

public long
public long
public UpgradeGroupInfo
public long
public long
public void
setBytesReceived(long bytesReceived)

public void
setBytesSent(long bytesSent)

public void
public void
setMsgsReceived(long msgsReceived)

public void
setMsgsSent(long msgsSent)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bytesReceivedback to summary
private volatile long bytesReceived
bytesSentback to summary
private volatile long bytesSent
groupInfoback to summary
private UpgradeGroupInfo groupInfo
msgsReceivedback to summary
private volatile long msgsReceived
msgsSentback to summary
private volatile long msgsSent

Constructor Detail

UpgradeInfoback to summary
public UpgradeInfo()

Method Detail

addBytesReceivedback to summary
public void addBytesReceived(long bytesReceived)
addBytesSentback to summary
public void addBytesSent(long bytesSent)
addMsgsReceivedback to summary
public void addMsgsReceived(long msgsReceived)
addMsgsSentback to summary
public void addMsgsSent(long msgsSent)
getBytesReceivedback to summary
public long getBytesReceived()
getBytesSentback to summary
public long getBytesSent()
getGlobalProcessorback to summary
public UpgradeGroupInfo getGlobalProcessor()
getMsgsReceivedback to summary
public long getMsgsReceived()
getMsgsSentback to summary
public long getMsgsSent()
setBytesReceivedback to summary
public void setBytesReceived(long bytesReceived)
setBytesSentback to summary
public void setBytesSent(long bytesSent)
setGroupInfoback to summary
public void setGroupInfo(UpgradeGroupInfo groupInfo)
setMsgsReceivedback to summary
public void setMsgsReceived(long msgsReceived)
setMsgsSentback to summary
public void setMsgsSent(long msgsSent)