public interface PostgreSQLClient extends AsyncSQLClient
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DS_NAME |
| Modifier and Type | Method and Description |
|---|---|
static AsyncSQLClient |
createNonShared(Vertx vertx,
JsonObject config)
Create a PostgreSQL client which maintains its own pool.
|
static AsyncSQLClient |
createShared(Vertx vertx,
JsonObject config)
Like
createShared(io.vertx.core.Vertx, JsonObject, String) but with the default pool name |
static AsyncSQLClient |
createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same
pool name
|
close, close, getConnectionstatic final String DEFAULT_DS_NAME
static AsyncSQLClient createNonShared(Vertx vertx, JsonObject config)
vertx - the Vert.x instanceconfig - the configurationstatic AsyncSQLClient createShared(Vertx vertx, JsonObject config, String poolName)
vertx - the Vert.x instanceconfig - the configurationpoolName - the pool namestatic AsyncSQLClient createShared(Vertx vertx, JsonObject config)
createShared(io.vertx.core.Vertx, JsonObject, String) but with the default pool namevertx - the Vert.x instanceconfig - the configurationCopyright © 2015. All Rights Reserved.