| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv class | VertxImpl.
Timers are stored in the |
| pack-priv class | |
| private class | VertxImpl.
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Field and Description |
|---|---|
| private final EventLoopGroup | |
| private final AddressResolver | |
| private final AddressResolverOptions | |
| private final BlockedThreadChecker | |
| private boolean | |
| private final CloseFuture | |
| private static final String | |
| private final ClusterManager | |
| private final ContextLocal | |
| private final List | |
| private final int | |
| private final DeploymentManager | |
| private final boolean | |
| private final EventBusInternal | |
| private final EventLoopGroup | |
| private final ThreadFactory | |
| private volatile Handler | |
| private final ExecutorServiceFactory | |
| private final FileResolver | |
| private final FileSystem | |
| private volatile HAManager | |
| pack-priv final WorkerPool | |
| private static final Logger | |
| private final long | |
| private final TimeUnit | |
| private final long | |
| private final TimeUnit | |
| private final VertxMetrics | |
| private final Map | |
| private static final int | |
| private static final String | |
| private final NodeSelector | |
| pack-priv static final ThreadLocal | nonVertxContextDispatch
Context dispatch info for context running with non vertx threads (Loom). |
| private final SharedData | |
| private final Map | |
| private final Map | |
| private final ThreadLocal | |
| private final VertxThreadFactory | |
| private final AtomicLong | |
| private final ConcurrentMap | |
| private final VertxTracer | |
| private final Transport | |
| private final Boolean | |
| private final VerticleManager | |
| private final ExecutorService | |
| pack-priv final WorkerPool | |
| pack-priv final WorkerPool |
| Access | Constructor and Description |
|---|---|
| pack-priv | VertxImpl(VertxOptions options, ClusterManager clusterManager, NodeSelector nodeSelector, VertxMetrics metrics, VertxTracer<?, ?> tracer, Transport transport, FileResolver fileResolver, VertxThreadFactory threadFactory, ExecutorServiceFactory executorServiceFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public AddressResolver | |
| pack-priv ContextInternal | Returns: the current context that shall be restoredthe context on which the event is emitted on context)Begin the emission of a context event. |
| private ContextInternal | |
| 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 synchronized void | close(Handler<AsyncResult<Void>>
The handler will be notified when the close is complete. completionHandler)Implements io. Like |
| private void | |
| public CloseFuture | |
| public List | |
| private ContextInternal | |
| private ContextImpl | createContext(ThreadingModel threadingModel, EventLoop eventLoop, CloseFuture closeFuture, Deployment deployment, ClassLoader tccl, EventExecutor eventExecutor, WorkerPool wp)
|
| 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 |
| private ContextImpl | createEventLoopContext(EventLoop eventLoop, CloseFuture closeFuture, WorkerPool workerPool, Deployment deployment, ClassLoader tccl)
|
| public ContextImpl | createEventLoopContext(Deployment deployment, CloseFuture closeFuture, WorkerPool workerPool, ClassLoader tccl)
Implements io.
|
| public ContextImpl | createEventLoopContext(EventLoop eventLoop, WorkerPool workerPool, ClassLoader tccl)
Implements io.
|
| public ContextImpl | |
| private void | |
| 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 serverOptions)Implements io. Create an HTTP/HTTPS server using the specified 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 WorkerExecutorImpl | createSharedWorkerExecutor(String name)
Implements io. Like |
| public WorkerExecutorImpl | createSharedWorkerExecutor(String name, int poolSize)
Implements io. Like |
| public synchronized WorkerExecutorImpl | createSharedWorkerExecutor(String name, int poolSize, long maxExecuteTime)
Implements io. Like |
| public synchronized WorkerExecutorImpl | 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 synchronized VertxImpl. | createSharedWorkerPool(String name, int poolSize, long maxExecuteTime, TimeUnit maxExecuteTimeUnit)
Implements io.
|
| private static ThreadFactory | createThreadFactory(VertxThreadFactory threadFactory, BlockedThreadChecker checker, Boolean useDaemonThread, long maxExecuteTime, TimeUnit maxExecuteTimeUnit, String prefix, boolean worker)
|
| private ContextImpl | createVirtualThreadContext(EventLoop eventLoop, CloseFuture closeFuture, Deployment deployment, ClassLoader tccl)
|
| public ContextImpl | createVirtualThreadContext(Deployment deployment, CloseFuture closeFuture, ClassLoader tccl)
Implements io.
|
| public ContextImpl | createVirtualThreadContext(EventLoop eventLoop, ClassLoader tccl)
Implements io.
|
| public ContextImpl | |
| 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 WebSocketClient | createWebSocketClient(WebSocketClientOptions
the options to use options)Implements io. Create a WebSocket client using the specified options |
| private ContextImpl | createWorkerContext(EventLoop eventLoop, CloseFuture closeFuture, WorkerPool workerPool, Deployment deployment, ClassLoader tccl)
|
| public ContextInternal | createWorkerContext(EventLoop eventLoop, WorkerPool workerPool, ClassLoader tccl)
Implements io.
|
| public ContextImpl | createWorkerContext(Deployment deployment, CloseFuture closeFuture, WorkerPool workerPool, ClassLoader tccl)
Implements io.
|
| public ContextImpl | |
| public static ContextInternal | |
| private void | |
| public Set | deploymentIDs()
Implements io. Return a Set of deployment IDs for the currently deployed deploymentIDs. |
| 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 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 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 Future | deployVerticle(Class<? extends Verticle> verticleClass, DeploymentOptions options)
Implements io. Like |
| public void | deployVerticle(Class<? extends Verticle> verticleClass, DeploymentOptions options, Handler<AsyncResult<String>> completionHandler)
Implements io. Like |
| public Future | deployVerticle(Supplier<Verticle> verticleSupplier, DeploymentOptions options)
Implements io. Like |
| public void | deployVerticle(Supplier<Verticle> verticleSupplier, DeploymentOptions options, Handler<AsyncResult<String>> completionHandler)
Implements io. Like |
| private Future | |
| pack-priv void | |
| pack-priv void | endDispatch(ContextInternal
the previous context thread to restore, might be prev)nullEnd the emission of a context task. |
| private void | |
| public EventBus | |
| public Vertx | |
| public Handler | |
| pack-priv void | executeIsolated(Handler<Void>
the task to execute task)Execute the |
| public void | |
| public synchronized void | failoverCompleteHandler(FailoverCompleteHandler failoverCompleteHandler)
Implements io.
|
| public FileResolver | |
| public FileSystem | |
| public EventLoopGroup | |
| public ClusterManager | |
| public ContextInternal | |
| private ContextInternal | |
| public Deployment | |
| public EventLoopGroup | |
| protected FileSystem | |
| public WorkerPool | |
| public Metrics | getMetrics()
Implements io. Returns the metrics implementation. |
| public ContextInternal | getOrCreateContext()
Implements io. Gets the current context, or creates one if there isn't one |
| private ContextInternal | |
| public WorkerPool | |
| public HAManager | |
| public HttpClientBuilder | httpClientBuilder()
Implements io. Provide a builder for |
| pack-priv void | |
| pack-priv void | |
| private void | |
| 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. |
| private CloseFuture | |
| public File | |
| public void | runOnContext(Handler<Void>
- a handler representing the action to execute task)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. |
| private long | scheduleTimeout(ContextInternal context, boolean periodic, long initialDelay, long delay, TimeUnit timeUnit, boolean addCloseHook, Handler<Long> handler)
|
| public long | scheduleTimeout(ContextInternal context, boolean periodic, long delay, TimeUnit timeUnit, boolean addCloseHook, Handler<Long> handler)
|
| 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 | |
| private 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. |
| private static ThreadFactory | |
| public WorkerPool |