Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.spi | |
io.vertx.lang.ruby | |
io.vertx.rx.java | |
io.vertx.rxjava.core |
Modifier and Type | Field and Description |
---|---|
protected Context |
AbstractVerticle.context
Reference to the context of the verticle
|
Modifier and Type | Method and Description |
---|---|
static Context |
Vertx.currentContext()
Gets the current context
|
Context |
Context.exceptionHandler(Handler<Throwable> handler)
Set an exception handler called when the context runs an action throwing an uncaught throwable.
When this handler is called,
Vertx.currentContext() will return this context. |
Context |
Vertx.getOrCreateContext()
Gets the current context, or creates one if there isn't one
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractVerticle.init(Vertx vertx,
Context context)
Initialise the verticle.
|
void |
Verticle.init(Vertx vertx,
Context context)
Initialise the verticle with the Vert.x instance and the context.
|
Modifier and Type | Method and Description |
---|---|
Context |
VertxFactory.context() |
Modifier and Type | Method and Description |
---|---|
void |
JRubyVerticle.init(Vertx vertx,
Context context) |
Modifier and Type | Method and Description |
---|---|
static Scheduler |
RxHelper.scheduler(Context context)
Create a scheduler for a
Context , actions are executed on the event loop of this context. |
static RxJavaSchedulersHook |
RxHelper.schedulerHook(Context context)
Create a scheduler hook for a
Context object, the RxJavaSchedulersHook.getIOScheduler()
uses a blocking scheduler. |
Constructor and Description |
---|
ContextScheduler(Context context,
boolean blocking) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVerticle.init(Vertx vertx,
Context context) |
static Context |
Context.newInstance(Context arg) |
Constructor and Description |
---|
Context(Context delegate) |
Copyright © 2016. All rights reserved.