We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db7a18e commit 859f341Copy full SHA for 859f341
src/main/java/oracle/r2dbc/impl/ReactiveJdbcAdapter.java
@@ -534,6 +534,14 @@ Publisher<Void> publishClobWrite(
534
*/
535
Publisher<Void> publishClobFree(Clob clob) throws R2dbcException;
536
537
+ /**
538
+ * Returns the {@link AsyncLock} that guards access to the JDBC
539
+ * {@link java.sql.Connection} created by this adapter (with
540
+ * {@link #publishConnection(DataSource, Executor)}). This lock may be
541
+ * acquired asynchronously, such that threads do not contend for the JDBC
542
+ * connection or any object created by that connection.
543
+ * @return Lock that guards access to the JDBC connection of this adapter.
544
+ */
545
AsyncLock getLock();
546
547
/**
0 commit comments