public class TaskManager
extends java.lang.Object
implements io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>>
Constructor and Description |
---|
TaskManager(java.lang.String taskId,
io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> cons) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
java.util.List<java.lang.String> |
getCurrentLogs() |
java.lang.String |
getId() |
void |
handle(io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> event) |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
log() |
TaskStatus |
status() |
java.lang.String |
toString() |
public TaskManager(java.lang.String taskId, io.vertx.core.eventbus.MessageConsumer<io.vertx.core.json.JsonObject> cons)
public void cleanUp()
public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> log()
public java.util.List<java.lang.String> getCurrentLogs()
public void handle(io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> event)
handle
in interface io.vertx.core.Handler<io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject>>
public TaskStatus status()
public java.lang.String getId()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021. All Rights Reserved.