Skip to content

zleonov/progress-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progress Monitor

A utility to track the progress of long running operations in Java.

Overview

Attempting to track the progress of long running operations can be unexpectedly cumbersome. Even if all you want to do is print a status update to standard out.

How frequently should updates be printed? What if there's no change in progress? What if the task has already completed? With Progress Monitor you can take all the guess work out of the equation and write code like this:

 final ProgressMonitor progress = ProgressMonitor.create()
                                                 .setDynamicStepSize(10, 1000)
                                                 .setMaximum(10000)
                                                 .addProgressListener(event -> ...);
 
 while (...) {
     ...
     progress.increment();
 }
 
 progress.completed();

Documentation

Please refer to the Uncyclo for details, specifications, API examples, and FAQ.

The latest API documentation can be accessed here.

About

Monitor the progress of long running operations in Java.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages