Interface EventExecutorProvider

All Superinterfaces:
VertxServiceProvider

@Unstable public interface EventExecutorProvider extends VertxServiceProvider
Event executor service provider interface.
Author:
Julien Viet
  • Method Summary

    Modifier and Type
    Method
    Description
    Provide to vertx an executor for the given thread, that will execute context tasks.
    default void
    init(io.vertx.core.internal.VertxBootstrap builder)
    Let the provider initialize the Vert.x builder.
  • Method Details

    • init

      default void init(io.vertx.core.internal.VertxBootstrap builder)
      Description copied from interface: VertxServiceProvider
      Let the provider initialize the Vert.x builder.
      Specified by:
      init in interface VertxServiceProvider
      Parameters:
      builder - the builder
    • eventExecutorFor

      Executor eventExecutorFor(Thread thread)
      Provide to vertx an executor for the given thread, that will execute context tasks.
      Parameters:
      thread - the thread for which an executor is required
      Returns:
      an executor suitable for the given thread, tasks executed on this executor will be declared as running on ThreadingModel.EXTERNAL.