Package | Description |
---|---|
io.vertx.core |
= Vert.x Core Manual
:toc: left
At the heart of Vert.x is a set of Java APIs that we call *Vert.x Core*
https://github.com/eclipse/vert.x[Repository].
|
io.vertx.core.spi | |
io.vertx.rx.java | |
io.vertx.rxjava.core |
= Vert.x RxJava
:toc: left
== Vert.x API for RxJava
https://github.com/ReactiveX/RxJava[RxJava] is a popular library for composing asynchronous and event based programs using
observable sequences for the Java VM.
|
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 |
---|---|
static rx.Scheduler |
RxHelper.scheduler(Context context)
Create a scheduler for a
Context , actions are executed on the event loop of this context. |
static rx.plugins.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) |
ContextScheduler(Context context,
boolean blocking,
boolean ordered) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVerticle.init(Vertx vertx,
Context context) |
Copyright © 2018. All rights reserved.