public interface ConnectionFactory
extends io.vertx.core.Closeable
Driver.createConnectionFactory(io.vertx.core.Vertx, io.vertx.sqlclient.SqlConnectOptions)
Modifier and Type | Method and Description |
---|---|
io.vertx.core.Future<SqlConnection> |
connect(io.vertx.core.Context context)
Create a connection using the given
context . |
static ConnectionFactory |
roundRobinSelector(List<ConnectionFactory> factories) |
static ConnectionFactory roundRobinSelector(List<ConnectionFactory> factories)
io.vertx.core.Future<SqlConnection> connect(io.vertx.core.Context context)
context
.context
- the contextCopyright © 2021 Eclipse. All rights reserved.