Package io.vertx.tp.plugin.job
Class JobClientImpl
- java.lang.Object
-
- io.vertx.tp.plugin.job.JobClientImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.vertx.tp.plugin.job.JobClient
JobClient.Pre
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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> codes, 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 code)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
-
startAsync
public io.vertx.core.Future<Long> startAsync(String code)
- Specified by:
startAsyncin interfaceJobClient
-
startAsync
public JobClient startAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
- Specified by:
startAsyncin interfaceJobClient
-
stopAsync
public JobClient stopAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
-
resumeAsync
public io.vertx.core.Future<Long> resumeAsync(String code)
- Specified by:
resumeAsyncin interfaceJobClient
-
resumeAsync
public JobClient resumeAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
- Specified by:
resumeAsyncin interfaceJobClient
-
fetchAsync
public JobClient fetchAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
- Specified by:
fetchAsyncin interfaceJobClient
-
fetchAsync
public io.vertx.core.Future<Mission> fetchAsync(String code)
- Specified by:
fetchAsyncin interfaceJobClient
-
fetchAsync
public JobClient fetchAsync(Set<String> codes, io.vertx.core.Handler<io.vertx.core.AsyncResult<List<Mission>>> handler)
- Specified by:
fetchAsyncin interfaceJobClient
-
fetchAsync
public io.vertx.core.Future<List<Mission>> fetchAsync(Set<String> codes)
- Specified by:
fetchAsyncin interfaceJobClient
-
saveAsync
public JobClient saveAsync(Mission mission, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
-
removeAsync
public io.vertx.core.Future<Mission> removeAsync(String code)
- Specified by:
removeAsyncin interfaceJobClient
-
removeAsync
public JobClient removeAsync(String code, io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
- Specified by:
removeAsyncin interfaceJobClient
-
saveAsync
public JobClient saveAsync(Set<Mission> missions, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<Mission>>> handler)
-
status
public io.vertx.core.json.JsonObject status(String namespace)
-
statusAsync
public io.vertx.core.Future<io.vertx.core.json.JsonObject> statusAsync(String namespace)
- Specified by:
statusAsyncin interfaceJobClient
-
statusAsync
public JobClient statusAsync(String namespace, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
- Specified by:
statusAsyncin interfaceJobClient
-
-