Package | Description |
---|---|
io.vertx.core |
= Vert.x Core Manual
:toc: left
At the heart of Vert.x is a set of Java APIs that we call *Vert.x Core*
https://github.com/eclipse/vert.x[Repository].
|
io.vertx.core.spi |
Modifier and Type | Field and Description |
---|---|
protected VertxOptions |
Starter.options
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
VertxOptions |
VertxOptions.setAddressResolverOptions(AddressResolverOptions addressResolverOptions)
Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc...
|
VertxOptions |
VertxOptions.setBlockedThreadCheckInterval(long blockedThreadCheckInterval)
Sets the value of blocked thread check period, in ms.
|
VertxOptions |
VertxOptions.setClustered(boolean clustered)
Set whether or not the Vert.x instance will be clustered.
|
VertxOptions |
VertxOptions.setClusterHost(String clusterHost)
Set the hostname to be used for clustering.
|
VertxOptions |
VertxOptions.setClusterManager(ClusterManager clusterManager)
Programmatically set the cluster manager to be used when clustering.
|
VertxOptions |
VertxOptions.setClusterPingInterval(long clusterPingInterval)
Set the value of cluster ping interval, in ms.
|
VertxOptions |
VertxOptions.setClusterPingReplyInterval(long clusterPingReplyInterval)
Set the value of cluster ping reply interval, in ms.
|
VertxOptions |
VertxOptions.setClusterPort(int clusterPort)
Set the port to be used for clustering.
|
VertxOptions |
VertxOptions.setClusterPublicHost(String clusterPublicHost)
Set the public facing hostname to be used for clustering.
|
VertxOptions |
VertxOptions.setClusterPublicPort(int clusterPublicPort)
See
setClusterPublicHost(String) for an explanation. |
VertxOptions |
VertxOptions.setEventBusOptions(EventBusOptions options)
Sets the event bus configuration to configure the host, port, ssl...
|
VertxOptions |
VertxOptions.setEventLoopPoolSize(int eventLoopPoolSize)
Set the number of event loop threads to be used by the Vert.x instance.
|
VertxOptions |
VertxOptions.setFileResolverCachingEnabled(boolean fileResolverCachingEnabled)
Set wether the Vert.x file resolver uses caching for classpath resources.
|
VertxOptions |
VertxOptions.setHAEnabled(boolean haEnabled)
Set whether HA will be enabled on the Vert.x instance.
|
VertxOptions |
VertxOptions.setHAGroup(String haGroup)
Set the HA group to be used when HA is enabled.
|
VertxOptions |
VertxOptions.setInternalBlockingPoolSize(int internalBlockingPoolSize)
Set the value of internal blocking pool size
|
VertxOptions |
VertxOptions.setMaxEventLoopExecuteTime(long maxEventLoopExecuteTime)
Sets the value of max event loop execute time, in ns.
|
VertxOptions |
VertxOptions.setMaxWorkerExecuteTime(long maxWorkerExecuteTime)
Sets the value of max worker execute time, in ns.
|
VertxOptions |
VertxOptions.setMetricsOptions(MetricsOptions metrics)
Set the metrics options
|
VertxOptions |
VertxOptions.setPreferNativeTransport(boolean preferNativeTransport)
Set wether to prefer the native transport to the JDK transport.
|
VertxOptions |
VertxOptions.setQuorumSize(int quorumSize)
Set the quorum size to be used when HA is enabled.
|
VertxOptions |
VertxOptions.setWarningExceptionTime(long warningExceptionTime)
Set the threshold value above this, the blocked warning contains a stack trace.
|
VertxOptions |
VertxOptions.setWorkerPoolSize(int workerPoolSize)
Set the maximum number of worker threads to be used by the Vert.x instance.
|
Modifier and Type | Method and Description |
---|---|
void |
Launcher.beforeStartingVertx(VertxOptions options)
Hook for sub-classes of
Launcher before the vertx instance is started. |
protected void |
Starter.beforeStartingVertx(VertxOptions options)
Deprecated.
Hook for sub classes of
Starter before the vertx instance is started. |
static void |
Vertx.clusteredVertx(VertxOptions options,
Handler<AsyncResult<Vertx>> resultHandler)
Creates a clustered instance using the specified options.
|
static void |
VertxOptionsConverter.fromJson(JsonObject json,
VertxOptions obj) |
static void |
VertxOptionsConverter.toJson(VertxOptions obj,
JsonObject json) |
static Vertx |
Vertx.vertx(VertxOptions options)
Creates a non clustered instance using the specified options
|
Constructor and Description |
---|
VertxOptions(VertxOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
VertxFactory.clusteredVertx(VertxOptions options,
Handler<AsyncResult<Vertx>> resultHandler) |
VertxMetrics |
VertxMetricsFactory.metrics(Vertx vertx,
VertxOptions options)
Create a new
VertxMetrics object.
No specific thread and context can be expected when this method is called. |
Vertx |
VertxFactory.vertx(VertxOptions options) |
Copyright © 2018 Eclipse. All rights reserved.