@Factory
public class PgPoolClientFactory
extends java.lang.Object
Constructor and Description |
---|
PgPoolClientFactory(PgPoolConfiguration pgPoolConfiguration,
io.vertx.reactivex.core.Vertx vertx)
Create the factory with given Posgres Pool configuration and
Vertx instance(can be null) if you are running with Vert.x.
|
Modifier and Type | Method and Description |
---|---|
io.reactiverse.reactivex.pgclient.PgPool |
client() |
public PgPoolClientFactory(PgPoolConfiguration pgPoolConfiguration, @Nullable io.vertx.reactivex.core.Vertx vertx)
pgPoolConfiguration
- The Reactive Postgres configurationsvertx
- The Vertx instance