@Factory public class PgPoolClientFactory extends 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.
|
public PgPoolClientFactory(PgPoolConfiguration pgPoolConfiguration, @Nullable io.vertx.reactivex.core.Vertx vertx)
pgPoolConfiguration
- The Reactive Postgres configurationsvertx
- The Vertx instance@Singleton @Bean(preDestroy="close") public io.reactiverse.reactivex.pgclient.PgPool client()