Package oracle.jdbc
Interface OracleCommonConnectionBuilder
- All Superinterfaces:
ConnectionBuilder
- All Known Subinterfaces:
OracleConnectionBuilder
- All Known Implementing Classes:
OracleConnectionBuilderImpl
Interface that defines common methods.
- Since:
- 23
-
Method Summary
Modifier and TypeMethodDescriptionFlow.Publisher<? extends Connection>Returns aPublisherthat publishes a singleConnectionobject with the same state as if it were built by callingbuildon thisConnectionBuilder.executorOracle(Executor executor) Set theExecutorused for asynchronous tasks by thisConnectionBuilderand anyConnectionobjects built by it.Methods inherited from interface java.sql.ConnectionBuilder
build, password, shardingKey, superShardingKey, user
-
Method Details
-
executorOracle
Set the
Executorused for asynchronous tasks by thisConnectionBuilderand anyConnectionobjects built by it. The default value isForkJoinPool.commonPool().- Parameters:
executor- an Executor to use for asynchronous tasks. Not null.- Returns:
- this OracleCommonConnectionBuilder
- Since:
- 20
-
buildConnectionPublisherOracle
Returns aPublisherthat publishes a singleConnectionobject with the same state as if it were built by callingbuildon thisConnectionBuilder. The returnedPublisherdoes not support multipleSubscribers.- Returns:
- a
Publisherof aConnectionbuilt by thisConnectionBuilder - Throws:
SQLException- Since:
- 20
-