RequestProcessor
executor service. For task tracking purposes, use the
Progress API.
See usage examples to start working
with the new APIs.@Deprecated
public interface TaskMonitor
Modifier and Type | Method and Description |
---|---|
void |
fireProgress(ProgressEvent e)
Deprecated.
call this method to fire a progress update regarding the task.\
|
void |
fireUpdate(UpdateEvent e)
Deprecated.
call this method to fire a general update regarding the task.
|
Task |
getSource()
Deprecated.
Retrieve the Task that this TaskMonitor is initialized for.
|
TaskMonitor |
getTaskMonitorForSegment(int lastProgressCount,
int maxProgressCount)
Deprecated.
Creates a new instance of a TaskMonitor object with the
maximum progress normalized to the given value that can then be passed
on to a child process or method.
|
void fireUpdate(UpdateEvent e)
e
- TaskUpdate an update object containing information about the
updatevoid fireProgress(ProgressEvent e)
e
- TaskProgress the progress object containing details of the task
progress.TaskMonitor getTaskMonitorForSegment(int lastProgressCount, int maxProgressCount)
maxProgressCount
- int maximum progress count of the child.lastProgressCount
- int last progress count of the parent.Task getSource()