Skip to content

Commit 8582d70

Browse files
committed
formatting
1 parent 97d2cb2 commit 8582d70

File tree

6 files changed

+32
-22
lines changed

6 files changed

+32
-22
lines changed

source/connection/specify-connection-options.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Specify Connection Options
1414
Configure Client-level CRUD Settings </connection/specify-connection-options/configure-crud>
1515
Network Compression </connection/specify-connection-options/network-compression>
1616
JNDI Datasource </connection/specify-connection-options/jndi>
17-
AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/
17+
AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/>
1818

1919
.. facet::
2020
:name: genre
@@ -30,6 +30,16 @@ This section describes the MongoDB connection and authentication options
3030
available in the {+driver-short+}. You can specify connection options in the
3131
following ways:
3232

33+
- :ref:`Stable API <stable-api-java>`
34+
- :ref:`Connection Pools <java-connection-pools>`
35+
- :ref:`Cluster Settings <mcs-cluster-settings>`
36+
- :ref:`Server Settings <mcs-server-settings>`
37+
- :ref:`Socket Settings <mcs-socket-settings>`
38+
- :ref:`Configure Client-level CRUD Settings <configure-client-crud>`
39+
- :ref:`Network Compression <java-compression>`
40+
- :ref:`JNDI Datasource <jndi>`
41+
- `AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/>`__
42+
3343
Security and Authentication
3444
---------------------------
3545

@@ -46,4 +56,4 @@ You can learn how to using logging and monitoring with the {+driver-short+} in
4656
the :ref:`Logging and Monitoring section <java-logging-monitoring>`, which
4757
includes the following:
4858

49-
.. include:: /includes/security/logging-monitoring-pages.rst
59+
.. include:: /includes/logging-monitoring/logging-monitoring-pages.rst

source/connection/specify-connection-options/connection-pools.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,21 @@ see the corresponding syntax:
168168
closed.
169169

170170
* - ``maxSize()``
171-
- | Sets the maximum number of connections associated with a connection
171+
- Sets the maximum number of connections associated with a connection
172172
pool.
173-
|
174-
| **Default**: ``100``
173+
174+
*Default*: ``100``
175175

176176
* - ``maxWaitTime()``
177-
- | Sets the maximum time to wait for an available connection.
178-
|
179-
| **Default**: ``2 minutes``
177+
- Sets the maximum time to wait for an available connection.
178+
179+
*Default*: ``2 minutes``
180180

181181
* - ``minSize()``
182-
- | Sets the minimum number of connections associated with a connection
182+
- Sets the minimum number of connections associated with a connection
183183
pool.
184-
|
185-
| **Default**: ``0``
184+
185+
*Default*: ``0``
186186

187187
.. note::
188188

source/connection/specify-connection-options/server-settings.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,31 +39,31 @@ Configuring Server Settings
3939
- Type
4040
- Description
4141

42-
* - **appName**
42+
* - ``appName``
4343
- string
4444
- Specifies the name of the application provided to MongoDB instances
4545
during the connection handshake. Can be used for server logs and
4646
profiling.
4747

48-
**Default**: ``null``
48+
*Default*: ``null``
4949

50-
* - **serverMonitoringMode**
50+
* - ``serverMonitoringMode``
5151
- string
5252
- Specifies which server monitoring protocol the driver uses. When set
5353
to ``auto``, the monitoring mode is determined by the environment in
5454
which the driver is running. The driver uses ``poll`` mode in
5555
function-as-a-service (FaaS) environments and ``stream`` mode in
5656
other environments.
5757

58-
**Default**: ``auto``
58+
*Default*: ``auto``
5959

60-
* - **heartbeatFrequencyMS**
60+
* - ``heartbeatFrequencyMS``
6161
- integer
6262
- Specifies the frequency, in milliseconds that the driver will wait
6363
between attempts to determine the current state of each server in
6464
the cluster.
6565

66-
**Default**: ``10000`` (10 seconds)
66+
*Default*: ``10000`` (10 seconds)
6767

6868

6969
This example specifies that the cluster monitor will attempt to reach a
@@ -105,12 +105,12 @@ Configuring Server Settings
105105
* - ``heartbeatFrequency()``
106106
- Sets the interval for a cluster monitor to attempt reaching a server.
107107

108-
**Default**: ``10 seconds``
108+
*Default*: ``10 seconds``
109109

110110
* - ``minHeartbeatFrequency()``
111111
- Sets the minimum interval for server monitoring checks.
112112

113-
**Default**: ``500 milliseconds``
113+
*Default*: ``500 milliseconds``
114114

115115
This example specifies the following driver behavior in a MongoDB deployment:
116116

source/connection/specify-connection-options/socket-settings.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ string <connection-uri>` or by passing a ``MongoClientSettings`` object to the
9292

9393
* - ``connectTimeout()``
9494
- Sets the maximum time to connect to an available socket before throwing
95-
a timeout exception.
95+
a timeout exception.
9696

9797
*Default*: ``10 seconds``
9898

9999
* - ``readTimeout()``
100100
- Sets the maximum time to read from an available socket before throwing a
101-
timeout exception.
101+
timeout exception.
102102

103103
*Default*: ``0``, which indicates no timeout
104104

source/logging-monitoring.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ Overview
2121
Learn how to set up logging and monitoring for your application in
2222
the following sections:
2323

24-
.. include:: /includes/security/logging-monitoring-pages.rst
24+
.. include:: /includes/logging-monitoring/logging-monitoring-pages.rst

0 commit comments

Comments
 (0)