implement ProgressMonitor.java
This commit is contained in:
@@ -58,6 +58,11 @@ public class ProgressMonitor implements Runnable {
|
||||
// TODO:
|
||||
// If all chunks are completed, print a final message and exit the loop
|
||||
|
||||
if (completedChunks == chunks.size()) {
|
||||
System.out.println("progress monitor is ended...");
|
||||
break;
|
||||
}
|
||||
|
||||
try {
|
||||
Thread.sleep(monitorDelayMs);
|
||||
} catch (InterruptedException e) {
|
||||
|
||||
Reference in New Issue
Block a user