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