public class TimedProgressOperation extends TimedOperation
incrementProgress()
or incrementedProgress()
each time around the loop. If more than gapTime
(by default one minute) has passed since
the start (or last logging) then progress will be logged at INFO. Otherwise, progress will be logged as TRACE.start
Constructor and Description |
---|
TimedProgressOperation(String action,
int total,
org.slf4j.Logger log) |
TimedProgressOperation(String action,
int total,
org.slf4j.Logger log,
long gapTime) |
Modifier and Type | Method and Description |
---|---|
void |
incrementedProgress()
Indicate that a unit of work has been done, and log if necessary.
|
void |
incrementProgress()
Indicate that a unit of work is about to be done, and log if necessary.
|
complete
Copyright © 2021 Atlassian. All rights reserved.