public class StatusTracker extends Object
Component for tracking the status of jobs. Unlike ProgressLogger, this is for large jobs that should have each completion reported.
| Constructor and Description |
|---|
StatusTracker(org.slf4j.Logger log)
Construct a new status tracker.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJob(Object job)
Add a job to the status tracker.
|
void |
reportFailure(Object job,
Throwable th) |
void |
reportSuccess(Object job) |