checkDataIntegrity
git-svn-id: svn://home0/checkDataIntegrity@3075 71dcc7fd-b1f2-4e5d-bb8e-274146e81173
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -81,6 +81,7 @@ public class Main {
|
|||||||
.stream()
|
.stream()
|
||||||
.parallel()
|
.parallel()
|
||||||
.forEach(p0 -> {
|
.forEach(p0 -> {
|
||||||
|
try {
|
||||||
final long cnt = count.incrementAndGet();
|
final long cnt = count.incrementAndGet();
|
||||||
if (cnt % 1000 == 0) {
|
if (cnt % 1000 == 0) {
|
||||||
System.out.println(cnt);
|
System.out.println(cnt);
|
||||||
@@ -108,11 +109,12 @@ public class Main {
|
|||||||
}
|
}
|
||||||
} while (len0 > -1);
|
} while (len0 > -1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (NoSuchFileException | FileNotFoundException | InvalidPathException ex) {
|
catch (NoSuchFileException | FileNotFoundException | InvalidPathException ex) {
|
||||||
// System.out.println(rel + ": NoSuchFileException");
|
// System.out.println(rel + ": NoSuchFileException");
|
||||||
}
|
}
|
||||||
catch (final Exception ex) {
|
catch (final Exception ex) {
|
||||||
System.out.println(rel + ": Exception: " + ex.getClass().getName() + " " + ex.getMessage());
|
System.out.println(p0 + ": Exception: " + ex.getClass().getName() + " " + ex.getMessage());
|
||||||
countErr.incrementAndGet();
|
countErr.incrementAndGet();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user