@ApplicationScoped
public class QuarkusWorkerPoolRegistry
extends io.smallrye.reactive.messaging.connectors.WorkerPoolRegistry
| Modifier and Type | Field and Description |
|---|---|
(package private) io.smallrye.reactive.messaging.connectors.ExecutionHolder |
executionHolder |
| Constructor and Description |
|---|
QuarkusWorkerPoolRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
defineWorker(String className,
String method,
String poolName) |
<T> io.smallrye.mutiny.Uni<T> |
executeWork(io.vertx.core.Handler<io.vertx.mutiny.core.Promise<T>> blockingCodeHandler,
String workerName,
boolean ordered) |
void |
terminate(Object event) |
@Inject io.smallrye.reactive.messaging.connectors.ExecutionHolder executionHolder
public void terminate(@Observes(notifyObserver=IF_EXISTS) @Priority(value=100) @BeforeDestroyed(value=javax.enterprise.context.ApplicationScoped.class) Object event)
terminate in class io.smallrye.reactive.messaging.connectors.WorkerPoolRegistrypublic <T> io.smallrye.mutiny.Uni<T> executeWork(io.vertx.core.Handler<io.vertx.mutiny.core.Promise<T>> blockingCodeHandler,
String workerName,
boolean ordered)
executeWork in class io.smallrye.reactive.messaging.connectors.WorkerPoolRegistryCopyright © 2021 JBoss by Red Hat. All rights reserved.