新增流量统计端口,主题接口
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
package com.nis.domain.restful.dashboard;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class NtcTotalReport {
|
||||
|
||||
private Integer statId ;//int(11) NOT NULL AUTO_INCREMENT COMMENT id自增,
|
||||
private Integer rejectNum ;//int(11) NOT NULL COMMENT 封堵数量,
|
||||
private Integer monitorNum ;//int(11) NOT NULL COMMENT 监测数量,
|
||||
private Integer c2sPktNum ;//int(11) DEFAULT NULL COMMENT c2s包数,
|
||||
private Integer s2cPktNum ;//int(11) DEFAULT NULL COMMENT s2c包数,
|
||||
private Integer c2sByteLen ;//int(11) NOT NULL COMMENT c2s字节数,
|
||||
private Integer s2cByteLen ;//int(11) NOT NULL COMMENT s2c字节数,
|
||||
private Integer newUniConnNum ;//int(11) DEFAULT NULL COMMENT 新建链接数,
|
||||
private Integer liveConnNum ;//int(11) DEFAULT NULL COMMENT 活跃链接数,
|
||||
private Integer dropConnNum ;//int(11) DEFAULT NULL COMMENT 丢弃链接数,
|
||||
private Integer loopConnNum ;//int(11) DEFAULT NULL COMMENT 回流链接数,
|
||||
private Date reportTime ;//datetime NOT NULL COMMENT 统计时间,
|
||||
|
||||
public Integer getStatId() {
|
||||
return statId;
|
||||
}
|
||||
public void setStatId(Integer statId) {
|
||||
this.statId = statId;
|
||||
}
|
||||
public Integer getRejectNum() {
|
||||
return rejectNum;
|
||||
}
|
||||
public void setRejectNum(Integer rejectNum) {
|
||||
this.rejectNum = rejectNum;
|
||||
}
|
||||
public Integer getMonitorNum() {
|
||||
return monitorNum;
|
||||
}
|
||||
public void setMonitorNum(Integer monitorNum) {
|
||||
this.monitorNum = monitorNum;
|
||||
}
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
public Integer getS2cByteNen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
public void setS2cByteNen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
public Integer getNewUniConnNum() {
|
||||
return newUniConnNum;
|
||||
}
|
||||
public void setNewUniConnNum(Integer newUniConnNum) {
|
||||
this.newUniConnNum = newUniConnNum;
|
||||
}
|
||||
public Integer getLiveConnNum() {
|
||||
return liveConnNum;
|
||||
}
|
||||
public void setLiveConnNum(Integer liveConnNum) {
|
||||
this.liveConnNum = liveConnNum;
|
||||
}
|
||||
public Integer getDropConnNum() {
|
||||
return dropConnNum;
|
||||
}
|
||||
public void setDropConnNum(Integer dropConnNum) {
|
||||
this.dropConnNum = dropConnNum;
|
||||
}
|
||||
public Integer getLoopConnNum() {
|
||||
return loopConnNum;
|
||||
}
|
||||
public void setLoopConnNum(Integer loopConnNum) {
|
||||
this.loopConnNum = loopConnNum;
|
||||
}
|
||||
public Date getReportTime() {
|
||||
return reportTime;
|
||||
}
|
||||
public void setReportTime(Date reportTime) {
|
||||
this.reportTime = reportTime;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -23,8 +23,18 @@ public class TrafficHttpStatistic {
|
||||
private Integer count;
|
||||
private Integer pktNum;
|
||||
private Integer byteLen;
|
||||
private Integer websiteServiceId;//网站id
|
||||
|
||||
public Integer getCount() {
|
||||
|
||||
public Integer getWesiteServiceId() {
|
||||
return websiteServiceId;
|
||||
}
|
||||
|
||||
public void setWebsiteServiceId(Integer websiteServiceId) {
|
||||
this.websiteServiceId = websiteServiceId;
|
||||
}
|
||||
|
||||
public Integer getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.nis.domain.restful.dashboard;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class TrafficPortActiveStatistic {
|
||||
//流量统计之活跃端口统计
|
||||
private Integer statId;
|
||||
private Integer port;
|
||||
private Integer sum;
|
||||
private Date statTime;
|
||||
|
||||
public Integer getStatId() {
|
||||
return statId;
|
||||
}
|
||||
public void setStatId(Integer statId) {
|
||||
this.statId = statId;
|
||||
}
|
||||
public Integer getPort() {
|
||||
return port;
|
||||
}
|
||||
public void setPort(Integer port) {
|
||||
this.port = port;
|
||||
}
|
||||
public Integer getSum() {
|
||||
return sum;
|
||||
}
|
||||
public void setSum(Integer sum) {
|
||||
this.sum = sum;
|
||||
}
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
public void setStatTime(Date statTime) {
|
||||
this.statTime = statTime;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.nis.domain.restful.dashboard;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class WebsiteDomainTopic {
|
||||
|
||||
private Long id; // `id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
private Long websiteServiceId; // `website_service_id` bigint(20) DEFAULT NULL COMMENT '网站服务Id',
|
||||
private String domain; // `domain` varchar(200) DEFAULT NULL COMMENT '域名',
|
||||
private Long topicId; // `topic_id` bigint(20) DEFAULT NULL COMMENT '主题Id',
|
||||
private Date createTime; // `create_time` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
|
||||
private Integer creatorId; // `creator_id` int(11) DEFAULT NULL,
|
||||
private Integer isValid; // `is_valid` int(1) DEFAULT NULL,
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
public Long getWebsiteServiceId() {
|
||||
return websiteServiceId;
|
||||
}
|
||||
public void setWebsiteServiceId(Long websiteServiceId) {
|
||||
this.websiteServiceId = websiteServiceId;
|
||||
}
|
||||
public String getDomain() {
|
||||
return domain;
|
||||
}
|
||||
public void setDomain(String domain) {
|
||||
this.domain = domain;
|
||||
}
|
||||
public Long getTopicId() {
|
||||
return topicId;
|
||||
}
|
||||
public void setTopicId(Long topicId) {
|
||||
this.topicId = topicId;
|
||||
}
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
public Integer getCreatorId() {
|
||||
return creatorId;
|
||||
}
|
||||
public void setCreatorId(Integer creatorId) {
|
||||
this.creatorId = creatorId;
|
||||
}
|
||||
public Integer getIsValid() {
|
||||
return isValid;
|
||||
}
|
||||
public void setIsValid(Integer isValid) {
|
||||
this.isValid = isValid;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user