(2)导入验证采用多线程验证,优化验证速度 (3)asn ip导入方式调整(未采用多线程,因为redis承受不了) (4)asn ip列表展示速度优化 (5)导入方式重写:采用csv模式,限制采用xlsx格式,加载80万数据不会内存溢出.
39 lines
1003 B
Java
39 lines
1003 B
Java
package com.nis.domain.configuration.template;
|
|
|
|
import com.nis.util.excel.ExcelField;
|
|
|
|
public class DnsResStrategyTemplate extends BasicTemplate{
|
|
@ExcelField(title="policy_name",align=2,sort=1)
|
|
private String cfgDesc;
|
|
@ExcelField(title="group",align=2,sort=2)
|
|
private Integer resGroup1Id;
|
|
@ExcelField(title="res_group_num",align=2,sort=3)
|
|
private Integer resGroup1Num;
|
|
@ExcelField(title="min_ttl",align=2,sort=4)
|
|
private String ttl;
|
|
public String getCfgDesc() {
|
|
return cfgDesc;
|
|
}
|
|
public void setCfgDesc(String cfgDesc) {
|
|
this.cfgDesc = cfgDesc;
|
|
}
|
|
public Integer getResGroup1Id() {
|
|
return resGroup1Id;
|
|
}
|
|
public void setResGroup1Id(Integer resGroup1Id) {
|
|
this.resGroup1Id = resGroup1Id;
|
|
}
|
|
public Integer getResGroup1Num() {
|
|
return resGroup1Num;
|
|
}
|
|
public void setResGroup1Num(Integer resGroup1Num) {
|
|
this.resGroup1Num = resGroup1Num;
|
|
}
|
|
public String getTtl() {
|
|
return ttl;
|
|
}
|
|
public void setTtl(String ttl) {
|
|
this.ttl = ttl;
|
|
}
|
|
}
|