Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.net | |
io.vertx.core.spi | |
io.vertx.core.spi.cluster | |
io.vertx.core.spi.metrics | |
io.vertx.core.spi.resolver |
Modifier and Type | Field and Description |
---|---|
protected Vertx |
AbstractVerticle.vertx
Reference to the Vert.x instance that deployed this verticle
|
Modifier and Type | Method and Description |
---|---|
Vertx |
Vertx.exceptionHandler(Handler<Throwable> handler)
Set a default exception handler for
Context , set on Context.exceptionHandler(Handler) at creation. |
Vertx |
AbstractVerticle.getVertx()
Get the Vert.x instance
|
Vertx |
Verticle.getVertx()
Get a reference to the Vert.x instance that deployed this verticle
|
Vertx |
Context.owner() |
static Vertx |
Vertx.vertx()
Creates a non clustered instance using default options.
|
static Vertx |
Vertx.vertx(VertxOptions options)
Creates a non clustered instance using the specified options
|
Modifier and Type | Method and Description |
---|---|
static Future<Vertx> |
Vertx.clusteredVertx(VertxOptions options)
Same as
clusteredVertx(VertxOptions, Handler) but with an handler called when the operation completes |
Modifier and Type | Method and Description |
---|---|
void |
Launcher.afterStartingVertx(Vertx vertx)
Hook for sub-classes of
Launcher after the vertx instance is started. |
void |
Launcher.beforeStoppingVertx(Vertx vertx) |
void |
Launcher.handleDeployFailed(Vertx vertx,
String mainVerticle,
DeploymentOptions deploymentOptions,
Throwable cause)
A deployment failure has been encountered.
|
void |
AbstractVerticle.init(Vertx vertx,
Context context)
Initialise the verticle.
|
void |
Verticle.init(Vertx vertx,
Context context)
Initialise the verticle with the Vert.x instance and the context.
|
Modifier and Type | Method and Description |
---|---|
static void |
Vertx.clusteredVertx(VertxOptions options,
Handler<AsyncResult<Vertx>> resultHandler)
Creates a clustered instance using the specified options.
|
Modifier and Type | Method and Description |
---|---|
KeyManagerFactory |
KeyCertOptions.getKeyManagerFactory(Vertx vertx)
Create and return the key manager factory for these options.
|
KeyManagerFactory |
KeyStoreOptionsBase.getKeyManagerFactory(Vertx vertx) |
KeyManagerFactory |
PemKeyCertOptions.getKeyManagerFactory(Vertx vertx) |
TrustManagerFactory |
KeyStoreOptionsBase.getTrustManagerFactory(Vertx vertx) |
TrustManagerFactory |
PemTrustOptions.getTrustManagerFactory(Vertx vertx) |
TrustManagerFactory |
TrustOptions.getTrustManagerFactory(Vertx vertx)
Create and return the trust manager factory for these options.
|
Function<String,X509KeyManager> |
KeyCertOptions.keyManagerMapper(Vertx vertx)
Returns a function that maps SNI server names to
X509KeyManager instance. |
Function<String,X509KeyManager> |
KeyStoreOptionsBase.keyManagerMapper(Vertx vertx) |
Function<String,X509KeyManager> |
PemKeyCertOptions.keyManagerMapper(Vertx vertx) |
KeyStore |
KeyStoreOptionsBase.loadKeyStore(Vertx vertx)
Load and return a Java keystore.
|
KeyStore |
PemKeyCertOptions.loadKeyStore(Vertx vertx)
Load and return a Java keystore.
|
KeyStore |
PemTrustOptions.loadKeyStore(Vertx vertx)
Load and return a Java keystore.
|
Function<String,TrustManager[]> |
KeyStoreOptionsBase.trustManagerMapper(Vertx vertx) |
Function<String,TrustManager[]> |
PemTrustOptions.trustManagerMapper(Vertx vertx) |
Function<String,TrustManager[]> |
TrustOptions.trustManagerMapper(Vertx vertx)
Returns a function that maps SNI server names to a
TrustManagerFactory instance. |
Modifier and Type | Method and Description |
---|---|
default void |
VerticleFactory.init(Vertx vertx)
Initialise the factory
|
Modifier and Type | Method and Description |
---|---|
void |
NodeSelector.init(Vertx vertx,
ClusterManager clusterManager)
Invoked before the
vertx instance tries to join the cluster. |
void |
ClusterManager.init(Vertx vertx,
NodeSelector nodeSelector)
Invoked before this cluster node tries to join the cluster.
|
Modifier and Type | Method and Description |
---|---|
default void |
VertxMetrics.vertxCreated(Vertx vertx)
Callback to signal when the Vertx instance is fully initialized.
|
Modifier and Type | Method and Description |
---|---|
static ResolverProvider |
ResolverProvider.factory(Vertx vertx,
AddressResolverOptions options) |
Copyright © 2021 Eclipse. All rights reserved.