Example usage for Java io.vertx.pgclient PgPool fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Close the pool and release the associated resources. |
void | getConnection(Handler Get a connection from the pool. |
PgPool | pool(String connectionUri, PoolOptions poolOptions) Like #pool(PgConnectOptions,PoolOptions) with connectOptions build from connectionUri . |
PgPool | pool(Vertx vertx, String connectionUri) Like #pool(Vertx,String,PoolOptions) with a default poolOptions . |
PgPool | pool(Vertx vertx, PoolOptions poolOptions) Like #pool(Vertx,PgConnectOptions,PoolOptions) with connectOptions build from the environment variables. |
PgPool | pool(PgConnectOptions connectOptions, PoolOptions poolOptions) Create a connection pool to the database configured with the given connectOptions and poolOptions . |
PgPool | pool() Like #pool(PoolOptions) with a default poolOptions . |
PgPool | pool(Vertx vertx, String connectionUri, PoolOptions poolOptions) Like #pool(Vertx,PgConnectOptions,PoolOptions) with connectOptions build from connectionUri . |
PgPool | pool(Vertx vertx, PgConnectOptions connectOptions, PoolOptions poolOptions) Like #pool(PgConnectOptions,PoolOptions) with a specific Vertx instance. |
PgPool | pool(PoolOptions poolOptions) Like #pool(PgConnectOptions,PoolOptions) with connectOptions build from the environment variables. |
PgPool | pool(String connectionUri) Like #pool(String,PoolOptions) with a default poolOptions . |
PgPool | query(String sql, Handler |