We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db89ffe commit be727b5Copy full SHA for be727b5
1 file changed
gcloud-java-examples/src/main/java/com/google/cloud/examples/nio/ParallelCountBytes.java
@@ -134,6 +134,7 @@ private void countFile(String fname) throws IOException{
134
}
135
work.add(exec.submit(full.resetForIndex(blockIndex++)));
136
137
+ exec.shutdown();
138
139
long elapsed = sw.elapsed(TimeUnit.SECONDS);
140
System.out.println("Read all " + total + " bytes in " + elapsed + "s. ");
0 commit comments