Java io.vertx.pgclient PgPool fields, constructors, methods, implement or subclass

Example usage for Java io.vertx.pgclient PgPool fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.vertx.pgclient PgPool.

The text is from its open source code.

Method

voidclose()
Close the pool and release the associated resources.
voidgetConnection(Handler> handler)
Get a connection from the pool.
PgPoolpool(String connectionUri, PoolOptions poolOptions)
Like #pool(PgConnectOptions,PoolOptions) with connectOptions build from connectionUri .
PgPoolpool(Vertx vertx, String connectionUri)
Like #pool(Vertx,String,PoolOptions) with a default poolOptions .
PgPoolpool(Vertx vertx, PoolOptions poolOptions)
Like #pool(Vertx,PgConnectOptions,PoolOptions) with connectOptions build from the environment variables.
PgPoolpool(PgConnectOptions connectOptions, PoolOptions poolOptions)
Create a connection pool to the database configured with the given connectOptions and poolOptions .
PgPoolpool()
Like #pool(PoolOptions) with a default poolOptions .
PgPoolpool(Vertx vertx, String connectionUri, PoolOptions poolOptions)
Like #pool(Vertx,PgConnectOptions,PoolOptions) with connectOptions build from connectionUri .
PgPoolpool(Vertx vertx, PgConnectOptions connectOptions, PoolOptions poolOptions)
Like #pool(PgConnectOptions,PoolOptions) with a specific Vertx instance.
PgPoolpool(PoolOptions poolOptions)
Like #pool(PgConnectOptions,PoolOptions) with connectOptions build from the environment variables.
PgPoolpool(String connectionUri)
Like #pool(String,PoolOptions) with a default poolOptions .
PgPoolquery(String sql, Handler>> handler)