Interface EventExecutorProvider
- All Superinterfaces:
VertxServiceProvider
Event executor service provider interface.
- Author:
- Julien Viet
-
Method Summary
Modifier and TypeMethodDescriptioneventExecutorFor(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 Details
-
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
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.
-