public class ContextHolder extends Object
Modifier and Type | Field and Description |
---|---|
protected io.vertx.core.Context |
context |
protected io.vertx.core.Vertx |
vertx |
Constructor and Description |
---|
ContextHolder(io.vertx.core.Vertx vertx,
int defaultTimeout) |
Modifier and Type | Method and Description |
---|---|
void |
capture(io.vertx.core.Context context) |
io.vertx.core.Context |
getContext() |
void |
runOnContext(Runnable runnable) |
<T> T |
runOnContextAndAwait(Callable<T> action) |
Copyright © 2018–2021 SmallRye. All rights reserved.