vertx / io.vertx.core

Package io.vertx.core

Types

Closeable

interface Closeable

Launcher

open class Launcher : VertxCommandLauncher, VertxLifecycleHooks

A main() class that can be used to create Vert.x instance and deploy a verticle, or run a bare Vert.x instance. This class is used by the vertx command line utility to deploy verticles from the command line. It is extensible as "commands" can be added using the io.vertx.core.spi.launcher.CommandFactory SPI. E.g. vertx run myverticle.js vertx my-command ... It can also be used as the main class of an executable jar so you can run verticles directly with: java -jar myapp.jar

ServiceHelper

open class ServiceHelper

A helper class for loading factories from the classpath and from the vert.x OSGi bundle.

TimeoutStream

interface TimeoutStream : ReadStream<Long>

A timeout stream is triggered by a timer, the io.vertx.core.Handler will be call when the timer is fired, it can be once or several times depending on the nature of the timer related to this stream. The ReadStream#endHandler(Handler) will be called after the timer handler has been called.

Pausing the timer inhibits the timer shots until the stream is resumed. Setting a null handler callback cancels the timer.

VertxOptions

open class VertxOptions

Instances of this class are used to configure io.vertx.core.Vertx instances.

WorkerExecutor

interface WorkerExecutor : Measured

An executor for executing blocking code in Vert.x .

It provides the same executeBlocking operation than io.vertx.core.Context and io.vertx.core.Vertx but on a separate worker pool.