Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.spi | |
io.vertx.ext.unit.junit | |
io.vertx.junit5 | |
io.vertx.reactivex.core | |
io.vertx.rxjava.core | |
io.vertx.rxjava3.core |
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
blockedThreadCheckIntervalUnit . |
VertxOptions |
VertxOptions.setBlockedThreadCheckIntervalUnit(TimeUnit blockedThreadCheckIntervalUnit)
Set the time unit of
blockedThreadCheckInterval . |
VertxOptions |
VertxOptions.setClusterManager(ClusterManager clusterManager)
Programmatically set the cluster manager to be used when clustering.
|
VertxOptions |
VertxOptions.setDisableTCCL(boolean disableTCCL)
|
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.setFileSystemOptions(FileSystemOptions fileSystemOptions)
Set the file system options
|
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
maxEventLoopExecuteTimeUnit . |
VertxOptions |
VertxOptions.setMaxEventLoopExecuteTimeUnit(TimeUnit maxEventLoopExecuteTimeUnit)
Set the time unit of
maxEventLoopExecuteTime . |
VertxOptions |
VertxOptions.setMaxWorkerExecuteTime(long maxWorkerExecuteTime)
Sets the value of max worker execute time, in
maxWorkerExecuteTimeUnit . |
VertxOptions |
VertxOptions.setMaxWorkerExecuteTimeUnit(TimeUnit maxWorkerExecuteTimeUnit)
Set the time unit of
maxWorkerExecuteTime . |
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.setTracingOptions(TracingOptions tracingOptions)
Set the tracing options
|
VertxOptions |
VertxOptions.setUseDaemonThread(Boolean daemon)
Mark the vertx thread as daemon thread or user thread.
|
VertxOptions |
VertxOptions.setWarningExceptionTime(long warningExceptionTime)
Set the threshold value above this, the blocked warning contains a stack trace.
|
VertxOptions |
VertxOptions.setWarningExceptionTimeUnit(TimeUnit warningExceptionTimeUnit)
Set the time unit of
warningExceptionTime . |
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. |
static Future<Vertx> |
Vertx.clusteredVertx(VertxOptions options)
Same as
Vertx.clusteredVertx(VertxOptions, Handler) but with an handler called when the operation completes |
static void |
Vertx.clusteredVertx(VertxOptions options,
Handler<AsyncResult<Vertx>> resultHandler)
Creates a clustered instance using the specified options.
|
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 |
---|---|
VertxMetrics |
VertxMetricsFactory.metrics(VertxOptions options)
Create a new
VertxMetrics object.
No specific thread and context can be expected when this method is called. |
FileResolver |
FileResolverFactory.resolver(VertxOptions options)
Create a new
FileResolver object. |
Constructor and Description |
---|
RunTestOnContext(VertxOptions options)
Create a new rule managing a Vertx instance created with specified options.
|
Constructor and Description |
---|
RunTestOnContext(VertxOptions options)
Create an instance of this extension that builds a
Vertx object using the specified options . |
Modifier and Type | Method and Description |
---|---|
static void |
Vertx.clusteredVertx(VertxOptions options)
Creates a clustered instance using the specified options.
|
static void |
Vertx.clusteredVertx(VertxOptions options,
Handler<AsyncResult<Vertx>> resultHandler)
Creates a clustered instance using the specified options.
|
static Single<Vertx> |
Vertx.rxClusteredVertx(VertxOptions options)
Creates a clustered instance using the specified options.
|
static Vertx |
Vertx.vertx(VertxOptions options)
Creates a non clustered instance using the specified options
|
Modifier and Type | Method and Description |
---|---|
static void |
Vertx.clusteredVertx(VertxOptions options)
Creates a clustered instance using the specified options.
|
static void |
Vertx.clusteredVertx(VertxOptions options,
Handler<AsyncResult<Vertx>> resultHandler)
Creates a clustered instance using the specified options.
|
static Single<Vertx> |
Vertx.rxClusteredVertx(VertxOptions options)
Creates a clustered instance using the specified options.
|
static Vertx |
Vertx.vertx(VertxOptions options)
Creates a non clustered instance using the specified options
|
Modifier and Type | Method and Description |
---|---|
static Single<Vertx> |
Vertx.clusteredVertx(VertxOptions options)
Creates a clustered instance using the specified options.
|
static Single<Vertx> |
Vertx.rxClusteredVertx(VertxOptions options)
Creates a clustered instance using the specified options.
|
static Vertx |
Vertx.vertx(VertxOptions options)
Creates a non clustered instance using the specified options
|
Copyright © 2024 Eclipse. All rights reserved.