Package cn.vertxup.jet.api
Class JobActor
- java.lang.Object
-
- cn.vertxup.jet.api.JobActor
-
@Queue public class JobActor extends Object
-
-
Constructor Summary
Constructors Constructor Description JobActor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.Future<io.vertx.core.json.JsonObject>fetch(String sigma, io.vertx.core.json.JsonObject body, Boolean grouped)io.vertx.core.Future<io.vertx.core.json.JsonObject>fetchByKey(String key)io.vertx.core.Future<Boolean>resume(String code)io.vertx.core.Future<Boolean>start(String code)io.vertx.core.Future<io.vertx.core.json.JsonObject>status(String namespace)io.vertx.core.Future<Boolean>stop(String code)io.vertx.core.Future<io.vertx.core.json.JsonObject>updateByKey(String key, io.vertx.core.json.JsonObject data)
-
-
-
Method Detail
-
start
@Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03a0\u03af\u03b4\u03b1\u03ba\u03b1\u03c2 \u03b4\u03c1\u03bf\u03bc\u03bf\u03bb\u03bf\u03b3\u03b7\u03c4\u03ae/I-JOB/START") public io.vertx.core.Future<Boolean> start(String code)
-
stop
@Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03a0\u03af\u03b4\u03b1\u03ba\u03b1\u03c2 \u03b4\u03c1\u03bf\u03bc\u03bf\u03bb\u03bf\u03b3\u03b7\u03c4\u03ae/I-JOB/STOP") public io.vertx.core.Future<Boolean> stop(String code)
-
resume
@Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03a0\u03af\u03b4\u03b1\u03ba\u03b1\u03c2 \u03b4\u03c1\u03bf\u03bc\u03bf\u03bb\u03bf\u03b3\u03b7\u03c4\u03ae/I-JOB/RESUME") public io.vertx.core.Future<Boolean> resume(String code)
-
status
@Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03a0\u03af\u03b4\u03b1\u03ba\u03b1\u03c2 \u03b4\u03c1\u03bf\u03bc\u03bf\u03bb\u03bf\u03b3\u03b7\u03c4\u03ae/I-JOB/STATUS") public io.vertx.core.Future<io.vertx.core.json.JsonObject> status(String namespace)
-
fetch
@Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03a0\u03af\u03b4\u03b1\u03ba\u03b1\u03c2 \u03b4\u03c1\u03bf\u03bc\u03bf\u03bb\u03bf\u03b3\u03b7\u03c4\u03ae/I-JOB/BY/SIGMA") public io.vertx.core.Future<io.vertx.core.json.JsonObject> fetch(String sigma, io.vertx.core.json.JsonObject body, Boolean grouped)
-
fetchByKey
@Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03a0\u03af\u03b4\u03b1\u03ba\u03b1\u03c2 \u03b4\u03c1\u03bf\u03bc\u03bf\u03bb\u03bf\u03b3\u03b7\u03c4\u03ae/I-JOB/GET/BY/KEY") public io.vertx.core.Future<io.vertx.core.json.JsonObject> fetchByKey(String key)
-
updateByKey
@Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03a0\u03af\u03b4\u03b1\u03ba\u03b1\u03c2 \u03b4\u03c1\u03bf\u03bc\u03bf\u03bb\u03bf\u03b3\u03b7\u03c4\u03ae/I-JOB/UPDATE/BY/KEY") public io.vertx.core.Future<io.vertx.core.json.JsonObject> updateByKey(String key, io.vertx.core.json.JsonObject data)
-
-