Class QuarkusWorkerPoolRegistry
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.connectors.WorkerPoolRegistry
-
- io.quarkus.smallrye.reactivemessaging.runtime.QuarkusWorkerPoolRegistry
-
@ApplicationScoped public class QuarkusWorkerPoolRegistry extends io.smallrye.reactive.messaging.providers.connectors.WorkerPoolRegistry
-
-
Field Summary
Fields Modifier and Type Field Description (package private) io.smallrye.reactive.messaging.providers.connectors.ExecutionHolderexecutionHolder
-
Constructor Summary
Constructors Constructor Description QuarkusWorkerPoolRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineWorker(String className, String method, String poolName)<T> io.smallrye.mutiny.Uni<T>executeWork(io.vertx.mutiny.core.Context currentContext, io.smallrye.mutiny.Uni<T> uni, String workerName, boolean ordered)io.vertx.mutiny.core.WorkerExecutorgetWorker(String workerName)voidterminate(Object event)
-
-
-
Method Detail
-
terminate
public void terminate(@Observes(notifyObserver=IF_EXISTS) @Priority(100) @BeforeDestroyed(javax.enterprise.context.ApplicationScoped.class) Object event)- Overrides:
terminatein classio.smallrye.reactive.messaging.providers.connectors.WorkerPoolRegistry
-
executeWork
public <T> io.smallrye.mutiny.Uni<T> executeWork(io.vertx.mutiny.core.Context currentContext, io.smallrye.mutiny.Uni<T> uni, String workerName, boolean ordered)- Overrides:
executeWorkin classio.smallrye.reactive.messaging.providers.connectors.WorkerPoolRegistry
-
getWorker
public io.vertx.mutiny.core.WorkerExecutor getWorker(String workerName)
- Overrides:
getWorkerin classio.smallrye.reactive.messaging.providers.connectors.WorkerPoolRegistry
-
-