| Package | Description |
|---|---|
| org.iota.jota.utils.log.interval |
| Modifier and Type | Method and Description |
|---|---|
IntervalProgressLogger |
IntervalProgressLogger.abort()
Marks the task as failed and triggers the output of a status message informing us about the failure.
|
IntervalProgressLogger |
IntervalProgressLogger.abort(Throwable cause)
Marks the task as failed and triggers the output of a status message informing us about the failure.
|
IntervalProgressLogger |
IntervalProgressLogger.finish()
Sets the current step to the expected step count and triggers the output of the current progress.
|
IntervalProgressLogger |
IntervalProgressLogger.progress()
Increases the current step by one and triggers the output of the current progress.
|
IntervalProgressLogger |
IntervalProgressLogger.progress(int currentStep)
Sets the current step to the given value and triggers the output of the current progress.
|
IntervalProgressLogger |
IntervalProgressLogger.setCurrentStep(int currentStep)
Sets the current step to the given value without triggering an output.
|
IntervalProgressLogger |
IntervalProgressLogger.setEnabled(boolean enabled)
This method is the setter for the enabled flag of the logger.
|
IntervalProgressLogger |
IntervalProgressLogger.setStepCount(int stepCount)
Sets the expected step count to the given value without triggering an output.
|
IntervalProgressLogger |
IntervalProgressLogger.start()
Starts the logging by (re)setting the current step to 0 and trigger the output of the current progress.
|
IntervalProgressLogger |
IntervalProgressLogger.start(int stepCount)
Does the same as
ProgressLogger.start() but sets the expected step count to the given value. |
Copyright © 2019. All rights reserved.