Uses of Class
io.vertx.pgclient.PgConnectOptions
Packages that use PgConnectOptions
Package
Description
-
Uses of PgConnectOptions in io.vertx.pgclient
Methods in io.vertx.pgclient that return PgConnectOptionsModifier and TypeMethodDescriptionPgConnectOptions.addProperty(String key, String value) static PgConnectOptionsPgConnectOptions.fromEnv()Provide aPgConnectOptionsconfigured with environment variables, if the environment variable is not set, then a default value will take precedence over this.static PgConnectOptionsProvide aPgConnectOptionsconfigured from a connection URI.PgConnectOptions.merge(JsonObject other) PgConnectOptions.setCachePreparedStatements(boolean cachePreparedStatements) PgConnectOptions.setDatabase(String database) PgConnectOptions.setPassword(String password) PgConnectOptions.setPipeliningLimit(int pipeliningLimit) PgConnectOptions.setPort(int port) PgConnectOptions.setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize) PgConnectOptions.setPreparedStatementCacheSqlFilter(Predicate<String> predicate) PgConnectOptions.setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit) PgConnectOptions.setProperties(Map<String, String> properties) PgConnectOptions.setReconnectAttempts(int attempts) PgConnectOptions.setReconnectInterval(long interval) PgConnectOptions.setSslMode(SslMode sslmode) SetSslModefor the client, this option can be used to provide different levels of secure protection.PgConnectOptions.setSslNegotiation(SslNegotiation sslNegotiation) SetSslNegotiationfor the client, this option controls how SSL/TLS is negotiated with the server.PgConnectOptions.setSslOptions(ClientSSLOptions sslOptions) PgConnectOptions.setTracingPolicy(TracingPolicy tracingPolicy) PgConnectOptions.setUseLayer7Proxy(boolean useLayer7Proxy) Set the client to use a layer 7 (application) proxy compatible protocol, set totruewhen the client interacts with a layer 7 proxy like PgBouncer instead of a server.static PgConnectOptionsPgConnectOptions.wrap(SqlConnectOptions options) Methods in io.vertx.pgclient with parameters of type PgConnectOptionsModifier and TypeMethodDescriptionstatic 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 -
Uses of PgConnectOptions in io.vertx.pgclient.pubsub
Methods in io.vertx.pgclient.pubsub with parameters of type PgConnectOptionsModifier and TypeMethodDescriptionstatic PgSubscriberPgSubscriber.subscriber(Vertx vertx, PgConnectOptions options) Create a subscriber. -
Uses of PgConnectOptions in io.vertx.pgclient.spi
Subclasses with type arguments of type PgConnectOptions in io.vertx.pgclient.spiMethods in io.vertx.pgclient.spi that return PgConnectOptionsModifier and TypeMethodDescriptionPgDriver.downcast(SqlConnectOptions connectOptions) PgDriver.parseConnectionUri(String uri) Methods in io.vertx.pgclient.spi that return types with arguments of type PgConnectOptionsModifier and TypeMethodDescriptionPgDriver.createConnectionFactory(Vertx vertx, NetClientOptions transportOptions) Method parameters in io.vertx.pgclient.spi with type arguments of type PgConnectOptionsModifier and TypeMethodDescriptionprotected PoolPgDriver.newPool(io.vertx.core.internal.VertxInternal vertx, Handler<SqlConnection> connectHandler, Supplier<Future<PgConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, io.vertx.core.internal.CloseFuture closeFuture) io.vertx.sqlclient.internal.SqlConnectionInternalPgDriver.wrapConnection(io.vertx.core.internal.ContextInternal context, ConnectionFactory<PgConnectOptions> factory, Connection connection) -
Uses of PgConnectOptions in io.vertx.reactivex.pgclient
Methods in io.vertx.reactivex.pgclient with parameters of type PgConnectOptionsModifier and TypeMethodDescriptionstatic 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 PgConnectOptionsModifier and TypeMethodDescriptionstatic PgSubscriberPgSubscriber.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 PgConnectOptionsModifier and TypeMethodDescriptionstatic 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 PgConnectOptionsModifier and TypeMethodDescriptionstatic PgSubscriberPgSubscriber.subscriber(Vertx vertx, PgConnectOptions options) Create a subscriber.