新增超时记录

This commit is contained in:
沈健
2021-11-22 21:59:16 +08:00
parent 5e7a880091
commit b329a077b9
+2 -2
View File
@@ -113,7 +113,7 @@ public class BatchTest {
synchronized (this) {
if (count.longValue() % 1000 == 0) {
stopWatch.stop();
System.out.println("已标准化处理" + count.longValue() + "条地址, 耗时:" + stopWatch.getTotalTimeMillis());
System.out.println("已标准化处理" + count.longValue() + "条地址, 耗时:" + stopWatch.getTotalTimeSeconds() / 60);
stopWatch.start();
}
}
@@ -122,7 +122,7 @@ public class BatchTest {
}
latch.await();
stopWatch.stop();
System.out.println("已完成该批次地址标准化,耗时" + stopWatch.getTotalTimeMillis());
System.out.println("已完成该批次地址标准化,耗时" + stopWatch.getTotalTimeSeconds() / 60);
for (List<String> data : dataList) {
String address = "";