Class VertxContext
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.helpers.VertxContext
-
public class VertxContext extends Object
-
-
Constructor Summary
Constructors Constructor Description VertxContext()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V> CompletionStage<V>callOnContext(io.vertx.core.Context context, Callable<V> callable)static io.vertx.core.ContextcreateNewDuplicatedContext()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)
-
-
-
Method Detail
-
getRootContext
public static io.vertx.core.Context getRootContext(io.vertx.core.Context context)
-
createNewDuplicatedContext
public static io.vertx.core.Context createNewDuplicatedContext()
-
runOnContext
public static void runOnContext(io.vertx.core.Context context, Runnable runnable)
-
runOnEventLoopContext
public static void runOnEventLoopContext(io.vertx.core.Context context, Runnable runnable)
-
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)
-
-