Class VertxContext
java.lang.Object
io.smallrye.reactive.messaging.providers.helpers.VertxContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> CompletionStage<V> callOnContext(io.vertx.core.Context context, Callable<V> callable) static io.vertx.core.Contextstatic voidexecuteBlocking(io.vertx.core.Context context, Runnable runnable) static voidexecuteBlocking(io.vertx.core.Context context, Runnable runnable, boolean ordered) static io.vertx.core.ContextgetRootContext(io.vertx.core.Context context) static voidrunOnContext(io.vertx.core.Context context, Runnable runnable) static <V> CompletionStage<V> runOnContext(io.vertx.core.Context context, Consumer<CompletableFuture<V>> runnable) static voidrunOnEventLoopContext(io.vertx.core.Context context, Runnable runnable) static <V> CompletionStage<V> runOnEventLoopContext(io.vertx.core.Context context, Consumer<CompletableFuture<V>> runnable)
-
Constructor Details
-
VertxContext
public VertxContext()
-
-
Method Details
-
getRootContext
public static io.vertx.core.Context getRootContext(io.vertx.core.Context context) -
createNewDuplicatedContext
public static io.vertx.core.Context createNewDuplicatedContext() -
executeBlocking
-
executeBlocking
public static void executeBlocking(io.vertx.core.Context context, Runnable runnable, boolean ordered) -
runOnContext
-
runOnEventLoopContext
-
runOnContext
public static <V> CompletionStage<V> runOnContext(io.vertx.core.Context context, Consumer<CompletableFuture<V>> runnable) -
runOnEventLoopContext
public static <V> CompletionStage<V> runOnEventLoopContext(io.vertx.core.Context context, Consumer<CompletableFuture<V>> runnable) -
callOnContext
public static <V> CompletionStage<V> callOnContext(io.vertx.core.Context context, Callable<V> callable)
-