public interface JobClient
| Modifier and Type | Method and Description |
|---|---|
static JobClient |
createShared(io.vertx.core.Vertx vertx) |
static JobClient |
createShared(io.vertx.core.Vertx vertx,
io.vertx.core.json.JsonObject config) |
JobClient |
resume(Long timeId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
Resume a failure job
|
JobClient |
start(String name,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
Start new job
|
JobClient |
stop(Long timerId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
Stop running job
|
static JobClient createShared(io.vertx.core.Vertx vertx, io.vertx.core.json.JsonObject config)
static JobClient createShared(io.vertx.core.Vertx vertx)
JobClient start(String name, io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
JobClient stop(Long timerId, io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
Copyright © 2020. All rights reserved.