Interface OracleBuilder
public interface OracleBuilder
Entry point for building Oracle clients.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ClientBuilder<Pool> pool()Provide a builder for Oracle pool of connectionsstatic Poolpool(Handler<ClientBuilder<Pool>> block) Build a pool with the specifiedblockargument.
-
Method Details
-
pool
Build a pool with the specifiedblockargument. Theblockargument is usually a lambda that configures the provided builderExample usage:
Pool pool = PgBuilder.pool(builder -> builder.connectingTo(connectOptions));- Returns:
- the pool as configured by the code
block
-
pool
Provide a builder for Oracle pool of connectionsExample usage:
Pool pool = PgBuilder.pool().connectingTo(connectOptions).build()
-