Interface JobClient

All Known Implementing Classes:
JobClientImpl

public interface JobClient
  • Method Details

    • 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)
    • code

      static String code(String name)
    • 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

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

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

      io.vertx.core.Future<List<Mission>> fetchAsync(Set<String> codes)
    • fetch

      Mission fetch(String code)
    • fetch

      List<Mission> fetch(Set<String> codes)
    • saveAsync

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

      io.vertx.core.Future<Set<Mission>> saveAsync(Set<Mission> missions)
    • saveAsync

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

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

      Set<Mission> save(Set<Mission> missions)
    • save

      Mission save(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)
    • remove

      Mission remove(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)