public class TasksManager extends java.lang.Object implements ITasksManager
Constructor and Description |
---|
TasksManager(io.vertx.core.Vertx vertx) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(java.lang.String taskId)
Cancel a task
|
ITask |
getTask(java.lang.String taskId)
Retrieve task service
|
TaskManager |
getTaskManager(java.lang.String taskId) |
TaskRef |
run(IServerTask serverTask)
Launch
IServerTask |
TaskRef |
run(java.lang.String taskId,
IServerTask serverTask)
Launch
IServerTask |
public TaskRef run(java.lang.String taskId, IServerTask serverTask)
ITasksManager
IServerTask
run
in interface ITasksManager
serverTask
- task to runpublic TaskRef run(IServerTask serverTask)
ITasksManager
IServerTask
run
in interface ITasksManager
serverTask
- task to runpublic ITask getTask(java.lang.String taskId)
ITasksManager
getTask
in interface ITasksManager
taskId
- taskRef TaskRef.id
public TaskManager getTaskManager(java.lang.String taskId)
public void cancel(java.lang.String taskId)
ITasksManager
cancel
in interface ITasksManager
taskId
- taskRef TaskRef.id
Copyright © 2021. All Rights Reserved.