public class MySQLClient extends AsyncSQLClient
original non RX-ified interface using Vert.x codegen.| Constructor and Description |
|---|
MySQLClient(MySQLClient delegate) |
| Modifier and Type | Method and Description |
|---|---|
static AsyncSQLClient |
createNonShared(Vertx vertx,
JsonObject config)
Create a MySQL client which maintains its own pool.
|
static AsyncSQLClient |
createShared(Vertx vertx,
JsonObject config)
Like
createShared(io.vertx.rxjava.core.Vertx, JsonObject, String) but with the default pool name |
static AsyncSQLClient |
createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a MySQL client which shares its data source with any other MySQL clients created with the same
data source name
|
Object |
getDelegate() |
static MySQLClient |
newInstance(MySQLClient arg) |
close, close, closeObservable, getConnection, getConnectionObservable, newInstancepublic MySQLClient(MySQLClient delegate)
public Object getDelegate()
getDelegate in class AsyncSQLClientpublic static AsyncSQLClient createNonShared(Vertx vertx, JsonObject config)
vertx - the Vert.x instanceconfig - the configurationpublic static AsyncSQLClient createShared(Vertx vertx, JsonObject config, String poolName)
vertx - the Vert.x instanceconfig - the configurationpoolName - the pool namepublic static AsyncSQLClient createShared(Vertx vertx, JsonObject config)
createShared(io.vertx.rxjava.core.Vertx, JsonObject, String) but with the default pool namevertx - the Vert.x instanceconfig - the configurationpublic static MySQLClient newInstance(MySQLClient arg)
Copyright © 2015. All Rights Reserved.