新增超时记录
This commit is contained in:
+2
-2
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user