public static io.vertx.ext.asyncsql.AsyncSQLClient createShared(io.vertx.ext.asyncsql.PostgreSQLClient j_receiver, io.vertx.core.Vertx vertx, java.util.Map<String, Object> config, java.lang.String poolName) { return io.vertx.core.impl.ConversionHelper.fromObject(io.vertx.ext.asyncsql.PostgreSQLClient.createShared(vertx, config != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(config) : null, poolName)); } public static io.vertx.ext.asyncsql.AsyncSQLClient createShared(io.vertx.ext.asyncsql.PostgreSQLClient j_receiver, io.vertx.core.Vertx vertx, java.util.Map<String, Object> config) {
public static io.vertx.ext.asyncsql.AsyncSQLClient createShared(io.vertx.ext.asyncsql.PostgreSQLClient j_receiver, io.vertx.core.Vertx vertx, java.util.Map<String, Object> config) { return io.vertx.core.impl.ConversionHelper.fromObject(io.vertx.ext.asyncsql.PostgreSQLClient.createShared(vertx, config != null ? io.vertx.core.impl.ConversionHelper.toJsonObject(config) : null)); } }
/** * Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool name. * @param vertx the Vert.x instance * @param config the configuration * @param poolName the pool name * @return the client */ public static io.vertx.rxjava.ext.asyncsql.AsyncSQLClient createShared(io.vertx.rxjava.core.Vertx vertx, JsonObject config, String poolName) { io.vertx.rxjava.ext.asyncsql.AsyncSQLClient ret = io.vertx.rxjava.ext.asyncsql.AsyncSQLClient.newInstance(io.vertx.ext.asyncsql.PostgreSQLClient.createShared(vertx.getDelegate(), config, poolName)); return ret; }
/** * Like {@link io.vertx.rxjava.ext.asyncsql.PostgreSQLClient#createShared} but with the default pool name * @param vertx the Vert.x instance * @param config the configuration * @return the client */ public static io.vertx.rxjava.ext.asyncsql.AsyncSQLClient createShared(io.vertx.rxjava.core.Vertx vertx, JsonObject config) { io.vertx.rxjava.ext.asyncsql.AsyncSQLClient ret = io.vertx.rxjava.ext.asyncsql.AsyncSQLClient.newInstance(io.vertx.ext.asyncsql.PostgreSQLClient.createShared(vertx.getDelegate(), config)); return ret; }