java.lang.Object
io.jooby.vertx.VertxModule
- All Implemented Interfaces:
io.jooby.Extension
A Vertx module.
The following services are accessible from application registry:
VertxEventBusFileSystem
vertx.eventLoopPoolSize=5
vertx.workerPoolSize = 20
vertx.blockedThreadCheckInterval=500
vertx.maxEventLoopExecuteTime=2000
- Since:
- 4.0.8
- Author:
- edgar
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new vertx module.VertxModule(io.vertx.core.Vertx vertx) Creates a new vertx module.VertxModule(io.vertx.core.VertxOptions options) Creates a new vertx module.VertxModule(Function<io.vertx.core.VertxOptions, io.vertx.core.Future<io.vertx.core.Vertx>> vertx) Creates a new vertx module.VertxModule(Supplier<io.vertx.core.Future<io.vertx.core.Vertx>> vertx) Creates a new vertx module. -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jooby.Extension
lateinit
-
Constructor Details
-
VertxModule
public VertxModule()Creates a new vertx module. Options might be provided from application configuration using thevertxprefix. -
VertxModule
public VertxModule(io.vertx.core.Vertx vertx) Creates a new vertx module.- Parameters:
vertx- Vertx instance.
-
VertxModule
public VertxModule(io.vertx.core.VertxOptions options) Creates a new vertx module.- Parameters:
options- Vertx options.
-
VertxModule
public VertxModule(Function<io.vertx.core.VertxOptions, io.vertx.core.Future<io.vertx.core.Vertx>> vertx) Creates a new vertx module.- Parameters:
vertx- Vertx provider.
-
VertxModule
Creates a new vertx module.- Parameters:
vertx- Vertx provider.
-
-
Method Details
-
install
- Specified by:
installin interfaceio.jooby.Extension- Throws:
Exception
-