Implement ProgressMonitor

This commit is contained in:
Matin
2026-06-13 19:57:41 +04:30
parent bcf960805e
commit 3f0342ef88
+6
View File
@@ -58,6 +58,12 @@ 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: All chunks successfully downloaded. Exiting monitor thread.");
break;
}
try {
Thread.sleep(monitorDelayMs);