| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final CloseFuture | |
| private final VertxImpl. | |
| private final VertxInternal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Future | close()
Implements io. Like |
| public void | close(Handler<AsyncResult<Void>>
the completion handler handler)Implements io. Close the executor. |
| public void | close(Promise<Void>
the promise to signal when close has completed completion)Implements io. Close this resource, the |
| public <T> Future | executeBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered)
Implements io. Same as |
| public <T> Future | executeBlocking(Callable<T>
handler representing the blocking code to run blockingCodeHandler, boolean if true then if executeBlocking is called several times on the same context, the executions
for that context will be executed serially, not in parallel. if false then they will be no ordering
guarantees ordered)Implements io. Safely execute some blocking code. |
| public <T> void | executeBlocking(Handler<Promise<T>>
handler representing the blocking code to run blockingCodeHandler, boolean if true then if executeBlocking is called several times on the same context, the executions
for that context will be executed serially, not in parallel. if false then they will be no ordering
guarantees ordered, Handler<AsyncResult<T>> handler that will be called when the blocking code is complete asyncResultHandler)Implements io. Safely execute some blocking code. |
| public Metrics | getMetrics()
Implements io. Returns the metrics implementation. |
| public WorkerPool | |
| public boolean | isMetricsEnabled()
Overrides default io. Whether the metrics are enabled for this measured object |
| public Vertx |
| closed | back to summary |
|---|---|
| private boolean closed | |
| closeFuture | back to summary |
|---|---|
| private final CloseFuture closeFuture | |
| pool | back to summary |
|---|---|
| private final VertxImpl. | |
| vertx | back to summary |
|---|---|
| private final VertxInternal vertx | |
| WorkerExecutorImpl | back to summary |
|---|---|
| public WorkerExecutorImpl(VertxInternal vertx, CloseFuture closeFuture, VertxImpl. | |
| close | back to summary |
|---|---|
| public Future Implements io. Doc from io. Like
| |
| close | back to summary |
|---|---|
| public void close(Handler<AsyncResult<Void>> handler) Implements io. Doc from io. Close the executor.
| |
| close | back to summary |
|---|---|
| public void close(Promise<Void> completion) Implements io. Doc from io. Close this resource, the | |
| executeBlocking | back to summary |
|---|---|
| public <T> Future Implements io. Doc from io. Same as
| |
| executeBlocking | back to summary |
|---|---|
| public <T> Future Implements io. Doc from io. Safely execute some blocking code.
Executes the blocking code in the handler The returned future will be completed with the result on the original context (i.e. on the original event loop of the caller) or failed when the handler throws an exception.
In the
| |
| executeBlocking | back to summary |
|---|---|
| public <T> void executeBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered, Handler<AsyncResult<T>> asyncResultHandler) Implements io. Doc from io. Safely execute some blocking code.
Executes the blocking code in the handler The returned future will be completed with the result on the original context (i.e. on the original event loop of the caller) or failed when the handler throws an exception.
A
In the
| |
| getMetrics | back to summary |
|---|---|
| public Metrics getMetrics() Implements io. Doc from io. Returns the metrics implementation. | |
| getPool | back to summary |
|---|---|
| public WorkerPool getPool() Implements io.
| |
| isMetricsEnabled | back to summary |
|---|---|
| public boolean isMetricsEnabled() Overrides default io. Doc from io. Whether the metrics are enabled for this measured object
| |
| vertx | back to summary |
|---|---|
| public Vertx vertx() Implements io.
| |