Skip to content

Commit febc70c

Browse files
committed
CSOT
1 parent 792aee2 commit febc70c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

source/connect-to-mongo/connection-options.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Connection Configuration
145145

146146
* - **socketTimeoutMS** *(deprecated)*
147147
- | This option is deprecated. You can configure this timeout by
148-
| setting the the :ref:`client-level timeout <javars-csot>`
148+
| setting the the :ref:`client-level timeout <java-rs-csot>`
149149
| instead.
150150
|
151151
| Milliseconds a recieve on a socket can take
@@ -215,7 +215,7 @@ Connection Pool Configuration
215215
``maxPoolSize`` connections open, the new operation waits for a
216216
new connection to open. To limit this waiting time, use the
217217
single timeout setting. To learn more, see the
218-
:ref:`javars-csot` guide.
218+
:ref:`java-rs-csot` guide.
219219
|
220220
| **Data Type**: ``Integer``
221221
| **Default**: ``null``
@@ -230,7 +230,7 @@ Connection Pool Configuration
230230

231231
* - **waitQueueTimeoutMS** *(deprecated)*
232232
- | This option is deprecated. You can configure this timeout by
233-
| setting the the :ref:`client-level timeout <javars-csot>`
233+
| setting the the :ref:`client-level timeout <java-rs-csot>`
234234
| instead.
235235
|
236236
| Maximum amount of time to wait in milliseconds before either
@@ -536,7 +536,7 @@ Write Concern Configuration
536536

537537
* - **wtimeoutMS** *(deprecated)*
538538
- | This option is deprecated. You can configure this timeout by
539-
| setting the the :ref:`client-level timeout <javars-csot>`
539+
| setting the the :ref:`client-level timeout <java-rs-csot>`
540540
| instead.
541541
|
542542
| If set, The driver adds ``{ wtimeout : ms }`` to all write commands. If

source/connect-to-mongo/csot.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,14 @@ configuration can override a client-level timeout configuration:
182182
Transactions
183183
~~~~~~~~~~~~
184184

185-
When you create a new `ClientSession <{+driver-api+}/ClientSession.html>`__
185+
When you create a new `ClientSession <{+rs-driver-api+}/ClientSession.html>`__
186186
instance to implement a transaction, use the ``defaultTimeout()`` method
187187
when building a ``ClientSessionOptions`` instance. You can use this
188188
option to specify the timeout for the following methods:
189189

190-
- `commitTransaction() <{+driver-api+}/ClientSession.html#commitTransaction()>`__
191-
- `abortTransaction() <{+driver-api+}/ClientSession.html#abortTransaction()>`__
192-
- `withTransaction() <{+driver-api+}/ClientSession.html#withTransaction(com.mongodb.client.TransactionBody)>`__
190+
- `commitTransaction() <{+rs-driver-api+}/ClientSession.html#commitTransaction()>`__
191+
- `abortTransaction() <{+rs-driver-api+}/ClientSession.html#abortTransaction()>`__
192+
- `withTransaction() <{+rs-driver-api+}/ClientSession.html#withTransaction(com.mongodb.client.TransactionBody)>`__
193193
- `close() <{+core-api+}/session/ClientSession.html#close()>`__
194194

195195
The following code demonstrates how to set the ``defaultTimeout`` when
@@ -292,9 +292,9 @@ API documentation:
292292

293293
- `MongoClientSettings <{+core-api+}/MongoClientSettings.html>`__
294294
- `MongoClientSettings.Builder.timeout() <{+core-api+}/MongoClientSettings.Builder.html#timeout(long,java.util.concurrent.TimeUnit)>`__
295-
- `MongoCollection.withTimeout() <{+driver-api+}/MongoCollection.html#withTimeout(long,java.util.concurrent.TimeUnit)>`__
295+
- `MongoCollection.withTimeout() <{+rs-driver-api+}/MongoCollection.html#withTimeout(long,java.util.concurrent.TimeUnit)>`__
296296
- `ClientSessionOptions.Builder.defaultTimeout() <{+core-api+}/ClientSessionOptions.Builder.html#defaultTimeout(long,java.util.concurrent.TimeUnit)>`__
297297
- `TransactionOptions.Builder.timeout() <{+core-api+}/TransactionOptions.Builder.html#timeout(java.lang.Long,java.util.concurrent.TimeUnit)>`__
298298
- `ClientEncryptionSettings.Builder.timeout() <{+core-api+}/ClientEncryptionSettings.Builder.html#timeout(long,java.util.concurrent.TimeUnit)>`__
299-
- `FindIterable.timeoutMode() <{+driver-api+}/FindPublisher.html#timeoutMode(com.mongodb.client.cursor.TimeoutMode)>`__
299+
- `FindIterable.timeoutMode() <{+rs-driver-api+}/FindPublisher.html#timeoutMode(com.mongodb.client.cursor.TimeoutMode)>`__
300300
- `TimeoutMode <{+core-api+}/client/cursor/TimeoutMode.html>`__

0 commit comments

Comments
 (0)