...
|
...
|
@@ -21,6 +21,7 @@ public class MaliciousIp { |
|
|
/**
|
|
|
* 单IP总的访问次数
|
|
|
*/
|
|
|
private long qps;
|
|
|
private long allCount;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -79,6 +80,14 @@ public class MaliciousIp { |
|
|
this.allCount = allCount;
|
|
|
}
|
|
|
|
|
|
public long getQps() {
|
|
|
return qps;
|
|
|
}
|
|
|
|
|
|
public void setQps(long qps) {
|
|
|
this.qps = qps;
|
|
|
}
|
|
|
|
|
|
public long getImpCount() {
|
|
|
return impCount;
|
|
|
}
|
...
|
...
|
@@ -145,7 +154,7 @@ public class MaliciousIp { |
|
|
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return "MaliciousIp [ip=" + ip + ", allCount=" + allCount + ", impCount=" + impCount + ", ipPrecent="
|
|
|
return "MaliciousIp [ip=" + ip + ", qps=" + qps + ", allCount=" + allCount + ", impCount=" + impCount + ", ipPrecent="
|
|
|
+ ipPrecent + ", impApiPrecent=" + impApiPrecent + ", udidCount=" + udidCount + ", notExsitUdidCount="
|
|
|
+ notExsitUdidCount + ", timestamp=" + timestamp + ", time=" + time + "]";
|
|
|
}
|
...
|
...
|
|