Interface WorkerExecutorFactory


@Internal public interface WorkerExecutorFactory
A factory to create WorkerExecutor.
Since:
2.0.0
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static @NotNull io.vertx.core.WorkerExecutor
    createExecutionWorker(@NotNull io.vertx.core.Vertx vertx, @NotNull TimeoutPolicy timeoutPolicy)
    Create a worker executor on which the scheduling execution operation runs.
    static @NotNull io.vertx.core.WorkerExecutor
    createMonitorWorker(@NotNull io.vertx.core.Vertx vertx)
    Create a worker executor on which the scheduling monitor operation runs.
  • Method Details

    • createExecutionWorker

      @NotNull static @NotNull io.vertx.core.WorkerExecutor createExecutionWorker(@NotNull @NotNull io.vertx.core.Vertx vertx, @NotNull @NotNull TimeoutPolicy timeoutPolicy)
      Create a worker executor on which the scheduling execution operation runs.

      Note:

      Parameters:
      vertx - Vert.x
      timeoutPolicy - the timeout policy
      Returns:
      new instance of worker executor
    • createMonitorWorker

      @NotNull static @NotNull io.vertx.core.WorkerExecutor createMonitorWorker(@NotNull @NotNull io.vertx.core.Vertx vertx)
      Create a worker executor on which the scheduling monitor operation runs.

      Note:

      Parameters:
      vertx - Vert.x
      Returns:
      new instance of worker executor