public class SchedulerProgressMonitor extends AbstractTaskMonitor
| Constructor and Description | 
|---|
SchedulerProgressMonitor(IScheduler sch,
                        IScheduledJobRunId runId)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
begin(double totalWork,
     java.lang.String log)
Notifies that the task is beginning. 
 | 
void | 
end(boolean success,
   java.lang.String log,
   java.lang.String result)
Notifies that the task has been completed. 
 | 
void | 
log(java.lang.String log)  | 
void | 
progress(double pr,
        java.lang.String log)
Notifies that a given number of work unit of the task has been completed. 
 | 
childEnded, subWork, subWorkpublic SchedulerProgressMonitor(IScheduler sch, IScheduledJobRunId runId)
public void begin(double totalWork,
                  java.lang.String log)
IServerTaskMonitortotalWork - the total number of work units into which the task is been
                  subdivided.public void progress(double pr,
                     java.lang.String log)
IServerTaskMonitorpr - number of work units just completedpublic void end(boolean success,
                java.lang.String log,
                java.lang.String result)
IServerTaskMonitorpublic void log(java.lang.String log)
Copyright © 2023. All Rights Reserved.