Classes
Methods
-
<static> Vertx.clusteredVertx(options, resultHandler)
-
Creates a clustered instance using the specified options.
The instance is created asynchronously and the resultHandler is called with the result when it is ready.
Parameters:
Name Type Description options
Object the options to use resultHandler
function the result handler that will receive the result -
<static> Vertx.currentContext() → {Context}
-
Gets the current context
Returns:
The current context or null if no current context- Type
- Context
-
<static> Vertx.vertx(options) → {Vertx}
-
Creates a non clustered instance using the specified options
Parameters:
Name Type Description options
Object the options to use Returns:
the instance- Type
- Vertx