public class ProgressBar extends Object
Constructor and Description |
---|
ProgressBar() |
Modifier and Type | Method and Description |
---|---|
static void |
addWorkload(int batch)
Extend the amount of work to perform by
batch . |
static void |
resetProgressBar()
Erase the progress bar and cancel pending operations.
|
static void |
skipProgressBar(int stride)
Perform
stride operations at once. |
static void |
stepProgressBar()
Perform
1 operation unit. |
static void |
workloadDone(int batch)
Acknowledge that
batch work has been performed. |
public static void addWorkload(int batch)
batch
.batch
- Additional amount of work that need be performed.public static void resetProgressBar()
public static void skipProgressBar(int stride)
stride
operations at once.stride
- Amount of work that is skipped.public static void stepProgressBar()
1
operation unit.public static void workloadDone(int batch)
batch
work has been performed.batch
- Completed amount of work.Copyright © 2015–2021 Fiji. All rights reserved.