Class QuarkusWorkerPoolRegistry
- java.lang.Object
-
- io.smallrye.reactive.messaging.connectors.WorkerPoolRegistry
-
- io.quarkus.smallrye.reactivemessaging.runtime.QuarkusWorkerPoolRegistry
-
@ApplicationScoped public class QuarkusWorkerPoolRegistry extends io.smallrye.reactive.messaging.connectors.WorkerPoolRegistry
-
-
Field Summary
Fields Modifier and Type Field Description (package private) io.smallrye.reactive.messaging.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.smallrye.mutiny.Uni<T> uni, String workerName, boolean ordered)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.connectors.WorkerPoolRegistry
-
executeWork
public <T> io.smallrye.mutiny.Uni<T> executeWork(io.smallrye.mutiny.Uni<T> uni, String workerName, boolean ordered)- Overrides:
executeWorkin classio.smallrye.reactive.messaging.connectors.WorkerPoolRegistry
-
-