public class GroupStat extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
AtomicLong |
closed
关闭了多少连接
|
AtomicLong |
handledBytes
处理了多少字节
|
AtomicLong |
handledPacketCosts
处理消息包耗时,单位:毫秒
|
AtomicLong |
handledPackets
处理了的消息包数
|
AtomicLong |
receivedBytes
接收到的消息字节数
|
AtomicLong |
receivedPackets
接收到的消息包
|
AtomicLong |
receivedTcps
本IP已接收了多少次TCP数据包
|
AtomicLong |
sentBytes
发送了的字节数
|
AtomicLong |
sentPackets
发送了的消息包数
|
Constructor and Description |
---|
GroupStat() |
Modifier and Type | Method and Description |
---|---|
double |
getBytesPerTcpReceive()
平均每次TCP接收到的字节数,这个可以用来监控慢攻击,配置PacketsPerTcpReceive定位慢攻击
|
AtomicLong |
getClosed() |
AtomicLong |
getHandledBytes() |
double |
getHandledCostsPerPacket()
处理packet平均耗时,单位:毫秒
|
AtomicLong |
getHandledPacketCosts()
处理消息包耗时,单位:毫秒
|
AtomicLong |
getHandledPackets() |
double |
getPacketsPerTcpReceive()
平均每次TCP接收到的业务包数,这个可以用来监控慢攻击,此值越小越有攻击嫌疑
|
AtomicLong |
getReceivedBytes() |
AtomicLong |
getReceivedPackets() |
AtomicLong |
getReceivedTcps() |
AtomicLong |
getSentBytes() |
AtomicLong |
getSentPackets() |
public final AtomicLong closed
public final AtomicLong receivedPackets
public final AtomicLong receivedBytes
public final AtomicLong handledPackets
public final AtomicLong handledPacketCosts
public final AtomicLong handledBytes
public final AtomicLong sentPackets
public final AtomicLong sentBytes
public final AtomicLong receivedTcps
public double getBytesPerTcpReceive()
public double getPacketsPerTcpReceive()
public AtomicLong getClosed()
public AtomicLong getHandledBytes()
public AtomicLong getHandledPackets()
public AtomicLong getReceivedBytes()
public AtomicLong getReceivedPackets()
public AtomicLong getSentBytes()
public AtomicLong getSentPackets()
public AtomicLong getReceivedTcps()
public AtomicLong getHandledPacketCosts()
public double getHandledCostsPerPacket()
Copyright © 2021. All rights reserved.