Package io.vertx.tp.plugin.job
Interface JobClient
-
- All Known Implementing Classes:
JobClientImpl
public interface JobClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJobClient.Pre
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static voidbind(Long timerId, String code)static Stringcode(String name)static JobClientcreateShared(io.vertx.core.Vertx vertx)static JobClientcreateShared(io.vertx.core.Vertx vertx, io.vertx.core.json.JsonObject config)Missionfetch(String code)List<Mission>fetch(Set<String> codes)io.vertx.core.Future<Mission>fetchAsync(String code)JobClientfetchAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)io.vertx.core.Future<List<Mission>>fetchAsync(Set<String> codes)JobClientfetchAsync(Set<String> code, io.vertx.core.Handler<io.vertx.core.AsyncResult<List<Mission>>> handler)Missionremove(String code)io.vertx.core.Future<Mission>removeAsync(String code)JobClientremoveAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)io.vertx.core.Future<Long>resumeAsync(String timerId)JobClientresumeAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)Missionsave(Mission mission)Set<Mission>save(Set<Mission> missions)io.vertx.core.Future<Mission>saveAsync(Mission mission)JobClientsaveAsync(Mission mission, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)io.vertx.core.Future<Set<Mission>>saveAsync(Set<Mission> missions)JobClientsaveAsync(Set<Mission> missions, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<Mission>>> handler)io.vertx.core.Future<Long>startAsync(String code)JobClientstartAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)io.vertx.core.json.JsonObjectstatus(String namespace)io.vertx.core.Future<io.vertx.core.json.JsonObject>statusAsync(String namespace)JobClientstatusAsync(String namespace, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)io.vertx.core.Future<Boolean>stopAsync(String code)JobClientstopAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
-
-
-
Method Detail
-
createShared
static JobClient createShared(io.vertx.core.Vertx vertx, io.vertx.core.json.JsonObject config)
-
createShared
static JobClient createShared(io.vertx.core.Vertx vertx)
-
startAsync
JobClient startAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
-
stopAsync
JobClient stopAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
-
resumeAsync
JobClient resumeAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
-
fetchAsync
JobClient fetchAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
-
fetchAsync
JobClient fetchAsync(Set<String> code, io.vertx.core.Handler<io.vertx.core.AsyncResult<List<Mission>>> handler)
-
saveAsync
JobClient saveAsync(Set<Mission> missions, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<Mission>>> handler)
-
saveAsync
JobClient saveAsync(Mission mission, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
-
removeAsync
JobClient removeAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
-
status
io.vertx.core.json.JsonObject status(String namespace)
-
statusAsync
io.vertx.core.Future<io.vertx.core.json.JsonObject> statusAsync(String namespace)
-
-