Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.spi | |
io.vertx.ext.unit.junit | |
io.vertx.reactivex.core | |
io.vertx.rxjava.core |
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
blockedThreadCheckIntervalUnit . |
VertxOptions |
VertxOptions.setBlockedThreadCheckIntervalUnit(TimeUnit blockedThreadCheckIntervalUnit)
Set the time unit of
blockedThreadCheckInterval . |
VertxOptions |
VertxOptions.setClustered(boolean clustered)
Deprecated.
as of 3.7, use
getEventBusOptions() and then EventBusOptions.setClustered(boolean) instead |
VertxOptions |
VertxOptions.setClusterHost(String clusterHost)
Deprecated.
as of 3.7, use
getEventBusOptions() and then EventBusOptions.setHost(String) instead |
VertxOptions |
VertxOptions.setClusterManager(ClusterManager clusterManager)
Programmatically set the cluster manager to be used when clustering.
|
VertxOptions |
VertxOptions.setClusterPingInterval(long clusterPingInterval)
Deprecated.
as of 3.7, use
getEventBusOptions() and then EventBusOptions.setClusterPingInterval(long) instead |
VertxOptions |
VertxOptions.setClusterPingReplyInterval(long clusterPingReplyInterval)
Deprecated.
as of 3.7, use
getEventBusOptions() and then EventBusOptions.setClusterPingReplyInterval(long) instead |
VertxOptions |
VertxOptions.setClusterPort(int clusterPort)
Deprecated.
as of 3.7, use
getEventBusOptions() and then EventBusOptions.setPort(int) instead |
VertxOptions |
VertxOptions.setClusterPublicHost(String clusterPublicHost)
Deprecated.
as of 3.7, use
getEventBusOptions() and then EventBusOptions.setClusterPublicHost(String) instead |
VertxOptions |
VertxOptions.setClusterPublicPort(int clusterPublicPort)
Deprecated.
as of 3.7, use
getEventBusOptions() and then EventBusOptions.setClusterPublicPort(int) instead |
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)
Deprecated.
|
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.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 |
---|---|
protected void |
Starter.beforeStartingVertx(VertxOptions options)
Deprecated.
Hook for sub classes of
Starter before the vertx instance is started. |
void |
Launcher.beforeStartingVertx(VertxOptions options)
Hook for sub-classes of
Launcher 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 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) |
void |
VertxFactory.clusteredVertx(VertxOptions options,
io.vertx.core.net.impl.transport.Transport transport,
Handler<AsyncResult<Vertx>> resultHandler) |
VertxMetrics |
VertxMetricsFactory.metrics(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) |
Vertx |
VertxFactory.vertx(VertxOptions options,
io.vertx.core.net.impl.transport.Transport transport) |
Constructor and Description |
---|
RunTestOnContext(VertxOptions options)
Create a new rule managing a Vertx instance created with specified options.
|
Modifier and Type | Method and Description |
---|---|
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,
Handler<AsyncResult<Vertx>> resultHandler)
Creates a clustered instance using the specified options.
|
static Observable<Vertx> |
Vertx.clusteredVertxObservable(VertxOptions options)
Deprecated.
|
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 © 2023 Eclipse. All rights reserved.