Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Context> |
Context.__TYPE_ARG |
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
|
static Context |
Context.newInstance(Context arg) |
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. |
Modifier and Type | Method and Description |
---|---|
DB2Pool |
DB2Pool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
Modifier and Type | Method and Description |
---|---|
MSSQLPool |
MSSQLPool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
Modifier and Type | Method and Description |
---|---|
MySQLPool |
MySQLPool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
Modifier and Type | Method and Description |
---|---|
OraclePool |
OraclePool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgPool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
Modifier and Type | Method and Description |
---|---|
Pool |
Pool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)
Replace the default pool connection provider, the new
provider returns a future connection for a
given . |
Copyright © 2024 Eclipse. All rights reserved.