Uses of Class
io.vertx.pgclient.PgConnectOptions
-
-
Uses of PgConnectOptions in io.vertx.pgclient
Methods in io.vertx.pgclient that return PgConnectOptions Modifier and Type Method Description PgConnectOptions
PgConnectOptions. addProperty(String key, String value)
static PgConnectOptions
PgConnectOptions. fromEnv()
Provide aPgConnectOptions
configured with environment variables, if the environment variable is not set, then a default value will take precedence over this.static PgConnectOptions
PgConnectOptions. fromUri(String connectionUri)
Provide aPgConnectOptions
configured from a connection URI.PgConnectOptions
PgConnectOptions. merge(JsonObject other)
PgConnectOptions
PgConnectOptions. setCachePreparedStatements(boolean cachePreparedStatements)
PgConnectOptions
PgConnectOptions. setDatabase(String database)
PgConnectOptions
PgConnectOptions. setHost(String host)
PgConnectOptions
PgConnectOptions. setPassword(String password)
PgConnectOptions
PgConnectOptions. setPipeliningLimit(int pipeliningLimit)
PgConnectOptions
PgConnectOptions. setPort(int port)
PgConnectOptions
PgConnectOptions. setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize)
PgConnectOptions
PgConnectOptions. setPreparedStatementCacheSqlFilter(java.util.function.Predicate<String> predicate)
PgConnectOptions
PgConnectOptions. setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit)
PgConnectOptions
PgConnectOptions. setProperties(Map<String,String> properties)
PgConnectOptions
PgConnectOptions. setReconnectAttempts(int attempts)
PgConnectOptions
PgConnectOptions. setReconnectInterval(long interval)
PgConnectOptions
PgConnectOptions. setSslMode(SslMode sslmode)
SetSslMode
for the client, this option can be used to provide different levels of secure protection.PgConnectOptions
PgConnectOptions. setSslOptions(ClientSSLOptions sslOptions)
PgConnectOptions
PgConnectOptions. setTracingPolicy(TracingPolicy tracingPolicy)
PgConnectOptions
PgConnectOptions. setUseLayer7Proxy(boolean useLayer7Proxy)
Set the client to use a layer 7 (application) proxy compatible protocol, set totrue
when the client interacts with a layer 7 proxy like PgBouncer instead of a server.PgConnectOptions
PgConnectOptions. setUser(String user)
static PgConnectOptions
PgConnectOptions. wrap(SqlConnectOptions options)
Methods in io.vertx.pgclient with parameters of type PgConnectOptions Modifier and Type Method Description static Future<PgConnection>
PgConnection. connect(Vertx vertx, PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.Constructors in io.vertx.pgclient with parameters of type PgConnectOptions Constructor Description PgConnectOptions(PgConnectOptions other)
-
Uses of PgConnectOptions in io.vertx.pgclient.pubsub
Methods in io.vertx.pgclient.pubsub with parameters of type PgConnectOptions Modifier and Type Method Description static PgSubscriber
PgSubscriber. subscriber(Vertx vertx, PgConnectOptions options)
Create a subscriber. -
Uses of PgConnectOptions in io.vertx.pgclient.spi
Methods in io.vertx.pgclient.spi that return PgConnectOptions Modifier and Type Method Description PgConnectOptions
PgDriver. downcast(SqlConnectOptions connectOptions)
PgConnectOptions
PgDriver. parseConnectionUri(String uri)
Methods in io.vertx.pgclient.spi that return types with arguments of type PgConnectOptions Modifier and Type Method Description ConnectionFactory<PgConnectOptions>
PgDriver. createConnectionFactory(Vertx vertx, NetClientOptions transportOptions)
Method parameters in io.vertx.pgclient.spi with type arguments of type PgConnectOptions Modifier and Type Method Description Pool
PgDriver. newPool(Vertx vertx, java.util.function.Supplier<Future<PgConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)
io.vertx.sqlclient.internal.SqlConnectionInternal
PgDriver. wrapConnection(io.vertx.core.internal.ContextInternal context, ConnectionFactory<PgConnectOptions> factory, io.vertx.sqlclient.internal.Connection conn)
-
Uses of PgConnectOptions in io.vertx.reactivex.pgclient
Methods in io.vertx.reactivex.pgclient with parameters of type PgConnectOptions Modifier and Type Method Description static Future<PgConnection>
PgConnection. connect(Vertx vertx, PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.static Single<PgConnection>
PgConnection. rxConnect(Vertx vertx, PgConnectOptions options)
Connects to the database and returns the connection if that succeeds. -
Uses of PgConnectOptions in io.vertx.reactivex.pgclient.pubsub
Methods in io.vertx.reactivex.pgclient.pubsub with parameters of type PgConnectOptions Modifier and Type Method Description static PgSubscriber
PgSubscriber. subscriber(Vertx vertx, PgConnectOptions options)
Create a subscriber. -
Uses of PgConnectOptions in io.vertx.rxjava3.pgclient
Methods in io.vertx.rxjava3.pgclient with parameters of type PgConnectOptions Modifier and Type Method Description static Single<PgConnection>
PgConnection. connect(Vertx vertx, PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.static Single<PgConnection>
PgConnection. rxConnect(Vertx vertx, PgConnectOptions options)
Connects to the database and returns the connection if that succeeds. -
Uses of PgConnectOptions in io.vertx.rxjava3.pgclient.pubsub
Methods in io.vertx.rxjava3.pgclient.pubsub with parameters of type PgConnectOptions Modifier and Type Method Description static PgSubscriber
PgSubscriber. subscriber(Vertx vertx, PgConnectOptions options)
Create a subscriber.
-