public class TaskMonitor extends AbstractTaskMonitor
| Constructor and Description | 
|---|
TaskMonitor(io.vertx.core.eventbus.EventBus eventBus,
           java.lang.String taskId)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
begin(double work,
     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. 
 | 
boolean | 
ended()  | 
void | 
log(java.lang.String log)  | 
void | 
progress(double step,
        java.lang.String log)
Notifies that a given number of work unit of the task has been completed. 
 | 
childEnded, subWork, subWorkpublic TaskMonitor(io.vertx.core.eventbus.EventBus eventBus,
                   java.lang.String taskId)
public void begin(double work,
                  java.lang.String log)
IServerTaskMonitorwork - the total number of work units into which the task is been
                  subdivided.public void progress(double step,
                     java.lang.String log)
IServerTaskMonitorstep - number of work units just completedpublic void log(java.lang.String log)
public void end(boolean success,
                java.lang.String log,
                java.lang.String result)
IServerTaskMonitorpublic boolean ended()
Copyright © 2023. All Rights Reserved.