delegate instance.
Implementing the Vertx interface is not encouraged however if that is necessary, implementations
should favor extending this class to ensure minimum breakage when new methods are added to the interace.
The delegate instance can be accessed using protected final delegate field, any method of the Vertx
interface can be overridden.
| Modifier and Type | Field and Description |
|---|---|
| protected final VertxInternal |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public AddressResolver | |
| public BlockedThreadChecker | |
| public boolean | cancelTimer(long
The id of the timer to cancel id)Implements io. Cancels the timer with the specified |
| public Future | close()
Implements io. Stop the Vertx instance and release any resources held by it. |
| public void | close(Handler<AsyncResult<Void>>
The handler will be notified when the close is complete. completionHandler)Implements io. Like |
| public CloseFuture | |
| public List | |
| public DatagramSocket | createDatagramSocket(DatagramSocketOptions
the options to use options)Implements io. Create a datagram socket using the specified options |
| public DnsClient | createDnsClient(int
the port port, String the host host)Implements io. Create a DNS client to connect to a DNS server at the specified host and port, with the default query timeout (5 seconds)
|
| public DnsClient | createDnsClient()
Implements io. Create a DNS client to connect to the DNS server configured by
DNS client takes the first configured resolver address provided by |
| public DnsClient | createDnsClient(DnsClientOptions
the client options options)Implements io. Create a DNS client to connect to a DNS server |
| public ContextInternal | createEventLoopContext(Deployment deployment, CloseFuture closeFuture, WorkerPool workerPool, ClassLoader tccl)
Implements io.
|
| public ContextInternal | createEventLoopContext(EventLoop eventLoop, WorkerPool workerPool, ClassLoader tccl)
Implements io.
|
| public ContextInternal | |
| public HttpClient | createHttpPoolClient(HttpClientOptions
the http client options to use clientOptions, PoolOptions the pool options to use poolOptions, CloseFuture the close future closeFuture)Implements io. Create a HTTP/HTTPS client using the specified options and close future |
| public HttpServer | createHttpServer(HttpServerOptions
the options to use options)Implements io. Create an HTTP/HTTPS server using the specified options |
| public HttpServer | createHttpServer()
Overrides default io. Create an HTTP/HTTPS server using default options |
| public NetClient | createNetClient(NetClientOptions
the options to use options)Implements io. Create a TCP/SSL client using the specified options |
| public NetServer | createNetServer(NetServerOptions
the options to use options)Implements io. Create a TCP/SSL server using the specified options |
| public WorkerExecutorInternal | createSharedWorkerExecutor(String name)
Implements io. Like |
| public WorkerExecutorInternal | createSharedWorkerExecutor(String name, int poolSize)
Implements io. Like |
| public WorkerExecutorInternal | createSharedWorkerExecutor(String name, int poolSize, long maxExecuteTime)
Implements io. Like |
| public WorkerExecutorInternal | createSharedWorkerExecutor(String
the name of the worker executor name, int the size of the pool poolSize, long the value of max worker execute time maxExecuteTime, TimeUnit the value of unit of max worker execute time maxExecuteTimeUnit)Implements io. Create a named worker executor, the executor should be closed when it's not needed anymore to release resources. |
| public WorkerPool | createSharedWorkerPool(String name, int poolSize, long maxExecuteTime, TimeUnit maxExecuteTimeUnit)
Implements io.
|
| public ContextInternal | createVirtualThreadContext(Deployment deployment, CloseFuture closeFuture, ClassLoader tccl)
Implements io.
|
| public ContextInternal | createVirtualThreadContext(EventLoop eventLoop, ClassLoader tccl)
Implements io.
|
| public ContextInternal | |
| public WebSocketClient | createWebSocketClient(WebSocketClientOptions
the options to use options)Implements io. Create a WebSocket client using the specified options |
| public WebSocketClient | createWebSocketClient(WebSocketClientOptions
the options to use options, CloseFuture the close future closeFuture)Implements io. Create a WebSocket client using the specified options and close future |
| public ContextInternal | createWorkerContext(EventLoop eventLoop, WorkerPool workerPool, ClassLoader tccl)
Implements io.
|
| public ContextInternal | createWorkerContext(Deployment deployment, CloseFuture closeFuture, WorkerPool workerPool, ClassLoader tccl)
Implements io.
|
| public ContextInternal | |
| public Set | deploymentIDs()
Implements io. Return a Set of deployment IDs for the currently deployed deploymentIDs. |
| public void | deployVerticle(Verticle
the verticle instance to deploy verticle, Handler<AsyncResult<String>> a handler which will be notified when the deployment is complete completionHandler)Implements io. Like |
| public Future | deployVerticle(Verticle
the verticle instance to deploy verticle, DeploymentOptions the deployment options. options)Implements io. Like |
| public Future | deployVerticle(Class<? extends Verticle> verticleClass, DeploymentOptions options)
Implements io. Like |
| public Future | deployVerticle(Supplier<Verticle> verticleSupplier, DeploymentOptions options)
Implements io. Like |
| public void | deployVerticle(Verticle
the verticle instance to deploy verticle, DeploymentOptions the deployment options. options, Handler<AsyncResult<String>> a handler which will be notified when the deployment is complete completionHandler)Implements io. Like |
| public void | deployVerticle(Class<? extends Verticle> verticleClass, DeploymentOptions options, Handler<AsyncResult<String>> completionHandler)
Implements io. Like |
| public void | deployVerticle(Supplier<Verticle> verticleSupplier, DeploymentOptions options, Handler<AsyncResult<String>> completionHandler)
Implements io. Like |
| public Future | deployVerticle(String
the name name, DeploymentOptions the deployment options. options)Implements io. Like |
| public void | deployVerticle(String
the name name, DeploymentOptions the deployment options. options, Handler<AsyncResult<String>> a handler which will be notified when the deployment is complete completionHandler)Implements io. Like |
| public EventBus | |
| public Vertx | |
| public Handler | |
| public void | |
| public void | failoverCompleteHandler(FailoverCompleteHandler failoverCompleteHandler)
Implements io.
|
| public FileResolver | |
| public FileSystem | |
| public EventLoopGroup | |
| public ClusterManager | |
| public ContextInternal | |
| public Deployment | |
| public EventLoopGroup | |
| public WorkerPool | |
| public ContextInternal | getOrCreateContext()
Implements io. Gets the current context, or creates one if there isn't one |
| public WorkerPool | |
| public HAManager | |
| public HttpClientBuilder | httpClientBuilder()
Implements io. Provide a builder for |
| public boolean | |
| public boolean | |
| public boolean | isMetricsEnabled()
Overrides default io. Whether the metrics are enabled for this measured object |
| public boolean | |
| public boolean | |
| public long | |
| public TimeUnit | |
| public VertxMetrics | |
| public AddressResolverGroup | |
| public EventLoopGroup | nettyEventLoopGroup()
Implements io. Return the Netty EventLoopGroup used by Vert.x |
| public TimeoutStream | periodicStream(long
the initial delay in milliseconds initialDelay, long the delay in milliseconds, after which the timer will fire delay)Implements io.
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
Returns a periodic timer as a read stream. |
| public <T> PromiseInternal | |
| public <T> PromiseInternal | |
| public void | registerVerticleFactory(VerticleFactory
the factory to register factory)Implements io. Register a |
| public void | |
| public void | resolveAddress(String
the hostname to resolve hostname, Handler<AsyncResult<InetAddress>> the result handler resultHandler)Implements io. Resolve an address (e.g. |
| public File | |
| public void | runOnContext(Handler<Void>
- a handler representing the action to execute action)Implements io. Puts the handler on the event queue for the current context so it will be run asynchronously ASAP after all preceeding events have been handled. |
| public long | setPeriodic(long
the initial delay in milliseconds initialDelay, long the delay in milliseconds, after which the timer will fire delay, Handler<Long> the handler that will be called with the timer ID when the timer fires handler)Implements io. Set a periodic timer to fire every |
| public long | setTimer(long
the delay in milliseconds, after which the timer will fire delay, Handler<Long> the handler that will be called with the timer ID when the timer fires handler)Implements io. Set a one-shot timer to fire after |
| public SharedData | |
| public Map | |
| public Map | |
| public <S extends TCPServerBase> Map | |
| public void | |
| public Timer | timer(long
the delay delay, TimeUnit the delay unit unit)Implements io. Create a timer task configured with the specified |
| public TimeoutStream | timerStream(long
the delay in milliseconds, after which the timer will fire delay)Implements io.
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
Returns a one-shot timer as a read stream. |
| public VertxTracer | |
| public Transport | |
| public Throwable | |
| public Future | undeploy(String
the deployment ID deploymentID)Implements io. Undeploy a verticle deployment. |
| public void | undeploy(String
the deployment ID deploymentID, Handler<AsyncResult<Void>> a handler which will be notified when the undeployment is complete completionHandler)Implements io. Like |
| public void | unregisterVerticleFactory(VerticleFactory
the factory to unregister factory)Implements io. Unregister a |
| public Set | verticleFactories()
Implements io. Return the Set of currently registered verticle factories. |
| public WorkerPool |