checkDataIntegrity

git-svn-id: svn://home0/checkDataIntegrity@3075 71dcc7fd-b1f2-4e5d-bb8e-274146e81173
This commit is contained in:
(no author)
2023-05-31 19:22:38 +00:00
parent 2490594a27
commit 99d9a8e412
3 changed files with 29 additions and 27 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -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();
} }
}); });