(2)导入验证采用多线程验证,优化验证速度 (3)asn ip导入方式调整(未采用多线程,因为redis承受不了) (4)asn ip列表展示速度优化 (5)导入方式重写:采用csv模式,限制采用xlsx格式,加载80万数据不会内存溢出.
18 lines
282 B
Java
18 lines
282 B
Java
package com.nis.domain.configuration.template;
|
|
|
|
public class BasicTemplate {
|
|
/**
|
|
* 数据在excel中的第几行
|
|
*/
|
|
protected Integer index;
|
|
|
|
public Integer getIndex() {
|
|
return index;
|
|
}
|
|
|
|
public void setIndex(Integer index) {
|
|
this.index = index;
|
|
}
|
|
|
|
}
|