This commit is contained in:
Arefe Talebi
2026-06-24 18:53:41 +03:30
parent 9e5c715088
commit 4793e2cef4
4 changed files with 150 additions and 58 deletions
+4
View File
@@ -57,6 +57,10 @@ 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("All cchunks have been downloadeed.Monitor stopped.");
break;
}
try {
Thread.sleep(monitorDelayMs);