public class IpStat extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
double |
getBytesPerTcpReceive()
平均每次TCP接收到的字节数,这个可以用来监控慢攻击,配置PacketsPerTcpReceive定位慢攻击
|
AtomicInteger |
getDecodeErrorCount() |
long |
getDuration() |
Long |
getDurationType() |
String |
getFormatedDuration() |
AtomicLong |
getHandledBytes() |
double |
getHandledCostsPerPacket()
处理packet平均耗时,单位:毫秒
|
AtomicLong |
getHandledPacketCosts() |
AtomicLong |
getHandledPackets() |
String |
getIp() |
double |
getPacketsPerTcpReceive()
平均每次TCP接收到的业务包数,这个可以用来监控慢攻击,此值越小越有攻击嫌疑
|
AtomicLong |
getReceivedBytes() |
AtomicLong |
getReceivedPackets() |
AtomicLong |
getReceivedTcps() |
AtomicInteger |
getRequestCount() |
AtomicLong |
getSentBytes() |
AtomicLong |
getSentPackets() |
Date |
getStart() |
void |
setDurationType(Long durationType) |
void |
setIp(String ip) |
void |
setStart(Date start) |
public double getBytesPerTcpReceive()
public AtomicInteger getDecodeErrorCount()
public long getDuration()
public Long getDurationType()
public String getFormatedDuration()
public AtomicLong getHandledBytes()
public AtomicLong getHandledPackets()
public String getIp()
public double getPacketsPerTcpReceive()
public AtomicLong getReceivedBytes()
public AtomicLong getReceivedPackets()
public AtomicLong getReceivedTcps()
public AtomicInteger getRequestCount()
public AtomicLong getSentBytes()
public AtomicLong getSentPackets()
public Date getStart()
public void setDurationType(Long durationType)
durationType
- the durationType to setpublic void setIp(String ip)
ip
- the ip to setpublic void setStart(Date start)
start
- the start to setpublic AtomicLong getHandledPacketCosts()
public double getHandledCostsPerPacket()
Copyright © 2021. All rights reserved.