Interface JobClient

  • All Known Implementing Classes:
    JobClientImpl

    public interface JobClient
    • 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)
      • bind

        static void bind​(Long timerId,
                         String code)
      • startAsync

        JobClient startAsync​(String code,
                             io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
      • startAsync

        io.vertx.core.Future<Long> startAsync​(String code)
      • stopAsync

        JobClient stopAsync​(String code,
                            io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
      • stopAsync

        io.vertx.core.Future<Boolean> stopAsync​(String code)
      • resumeAsync

        JobClient resumeAsync​(String code,
                              io.vertx.core.Handler<io.vertx.core.AsyncResult<Long>> handler)
      • resumeAsync

        io.vertx.core.Future<Long> resumeAsync​(String timerId)
      • fetchAsync

        JobClient fetchAsync​(String code,
                             io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
      • fetchAsync

        io.vertx.core.Future<Mission> fetchAsync​(String code)
      • saveAsync

        JobClient saveAsync​(Mission mission,
                            io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
      • saveAsync

        io.vertx.core.Future<Mission> saveAsync​(Mission mission)
      • removeAsync

        JobClient removeAsync​(String code,
                              io.vertx.core.Handler<io.vertx.core.AsyncResult<Mission>> handler)
      • removeAsync

        io.vertx.core.Future<Mission> removeAsync​(String code)
      • status

        io.vertx.core.json.JsonObject status​(String namespace)
      • statusAsync

        io.vertx.core.Future<io.vertx.core.json.JsonObject> statusAsync​(String namespace)
      • statusAsync

        JobClient statusAsync​(String namespace,
                              io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)