Details
-
Task
-
Resolution: Unresolved
-
Unknown
-
None
-
None
-
None
-
None
Description
Description:
This ticket addresses the deprecation of various configuration timeout options in favor of a unified timeoutMS parameter. The aim is to simplify and standardize timeout configurations across the drivers.
Deprecation Details:
- Configuration Timeout Options:
- socketTimeoutMS
- waitQueueTimeoutMS
- wTimeoutMS
These options are to be deprecated in favor of the more unified timeoutMS setting.
- Deprecation of maxTime() in Iterable/Observable/Publisher/Flow:
- ListDatabases
- ListIndexes
- ListCollections
- ListCollectionNames
- ListSearchIndexes
- MapReduce
- GridFS
The maxTime setting in all these methods will be deprecated in favor of timeoutMS.
- Additional Deprecations:
- ConnectionString#getSocketTimeout()
- ConnectionString#getMaxAwaitTime()
- SocketSettings#readTimeout
- SocketSettings#getReadTimeout
- ConnectionPoolSettings#maxWaitTime
- ConnectionPoolSettings#getMaxWaitTime
- CreateIndexOptions#maxTime
These additional settings will also be deprecated and aligned with the timeoutMS configuration.
Attachments
Issue Links
- related to
-
JAVA-5264 Deprecate CRUD method options
-
- Closed
-