Interface EventExecutorProvider
-
- All Superinterfaces:
VertxServiceProvider
@Unstable public interface EventExecutorProvider extends VertxServiceProvider
Event executor service provider interface.- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExecutoreventExecutorFor(Thread thread)Provide to vertx an executor for the giventhread, that will execute context tasks.default voidinit(io.vertx.core.internal.VertxBootstrap builder)Let the provider initialize the Vert.x builder.
-
-
-
Method Detail
-
init
default void init(io.vertx.core.internal.VertxBootstrap builder)
Description copied from interface:VertxServiceProviderLet the provider initialize the Vert.x builder.- Specified by:
initin interfaceVertxServiceProvider- Parameters:
builder- the builder
-
eventExecutorFor
Executor eventExecutorFor(Thread thread)
Provide to vertx an executor for the giventhread, 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.
-
-