|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProgressMonitor
Interface for reporting progress when accessing the flight recorder.
Method Summary | |
---|---|
void |
beginTask(int workUnits,
java.lang.String description)
Called when a task begins. |
boolean |
cancel()
Cancels the current task. |
void |
done()
Finished with all the work |
void |
doWork(int workUnits)
Do some work |
void |
endTask()
Called when the current task is finished |
void |
log(Severity severity,
java.lang.String message,
java.lang.Throwable throwable)
Logs an error/warning |
Method Detail |
---|
boolean cancel()
void beginTask(int workUnits, java.lang.String description)
workUnits
- description
- void endTask()
void doWork(int workUnits)
workUnits
- the number of units to workvoid done()
void log(Severity severity, java.lang.String message, java.lang.Throwable throwable)
severity
- the severitymessage
- the messagethrowable
- an optional Throwable
. Null if N/A
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |