public interface ProgressListener
Modifier and Type | Method and Description |
---|---|
void |
progressTo(long progress, String mesg)
This method reports the current progress.
|
long |
reportProgressFrequency()
Returns a positive integer as the frequency of progress reporting.
|
void progressTo(long progress, String mesg)
progress
- a long value indicating the current progress. It must be a positive integer.mesg
- an optional string value describing the current progress.long reportProgressFrequency()
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.