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