@ApplicationScoped public class WorkerPoolRegistry extends Object
Constructor and Description |
---|
WorkerPoolRegistry() |
Modifier and Type | Method and Description |
---|---|
<T> void |
analyzeWorker(javax.enterprise.inject.spi.AnnotatedType<T> annotatedType) |
<T> io.smallrye.mutiny.Uni<T> |
executeWork(io.vertx.core.Handler<io.vertx.mutiny.core.Promise<T>> blockingCodeHandler,
String workerName,
boolean ordered) |
String |
methodAsString(Method method) |
void |
terminate(Object event) |
public void terminate(@Observes(notifyObserver=IF_EXISTS) @Priority(value=100) @BeforeDestroyed(value=javax.enterprise.context.ApplicationScoped.class) Object event)
public <T> io.smallrye.mutiny.Uni<T> executeWork(io.vertx.core.Handler<io.vertx.mutiny.core.Promise<T>> blockingCodeHandler, String workerName, boolean ordered)
public <T> void analyzeWorker(javax.enterprise.inject.spi.AnnotatedType<T> annotatedType)
Copyright © 2018–2020 SmallRye. All rights reserved.