public interface IProgressListener
Modifier and Type | Field and Description |
---|---|
static boolean |
CONTINUE
The value returned by a listener that signals to continue processing.
|
static boolean |
STOP
The value returned by a listener that signals to stop processing.
|
static long |
UNDEFINED_SIZE
This value specifies that the size is undefined or unknown.
|
Modifier and Type | Method and Description |
---|---|
boolean |
processed(long totalSize,
long processedSize)
Will be called for each arbitrary chunk of work that has been processed.
|
static final long UNDEFINED_SIZE
static final boolean CONTINUE
static final boolean STOP
boolean processed(long totalSize, long processedSize)
totalSize
- The total size to be processed for complete execution. If the
total size is unknown the UNDEFINED_SIZE
value must be passed in.processedSize
- The size that has already been processed.CONTINUE
) if processing should continue, false (STOP
) if processing should stop now.