Class PgClientConfiguration

java.lang.Object
io.micronaut.configuration.vertx.pg.client.PgClientConfiguration

@ConfigurationProperties("vertx.pg.client") public class PgClientConfiguration extends Object
The configuration class for Vertx Pg Client PoolOptions.
  • Field Details

    • connectOptions

      @ConfigurationBuilder protected io.vertx.pgclient.PgConnectOptions connectOptions
    • poolOptions

      @ConfigurationBuilder protected io.vertx.sqlclient.PoolOptions poolOptions
    • uri

      protected String uri
  • Constructor Details

    • PgClientConfiguration

      public PgClientConfiguration()
  • Method Details

    • getUri

      public String getUri()
      Returns:
      The Pg connection URI.
    • getConnectOptions

      public io.vertx.pgclient.PgConnectOptions getConnectOptions()
      Returns:
      The options for configuring a connection.
    • getPoolOptions

      public io.vertx.sqlclient.PoolOptions getPoolOptions()
      Returns:
      The options for configuring a connection pool.