[JAVA-2240] Unit of MaxConnectionIdleTime not specified Created: 08/Jul/16  Updated: 01/Dec/16  Resolved: 08/Jul/16

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 3.3.0

Type: Improvement Priority: Minor - P4
Reporter: prashant deva Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In the javadoc here:
https://api.mongodb.com/java/3.2/com/mongodb/MongoClientOptions.Builder.html

is the unit of MaxConnectionIdleTime miliseconds, seconds or minutes?



 Comments   
Comment by Githook User [ 01/Dec/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Javadoc: Updates to MongoClientOptions.Builder

Explicitly declare the time units for various builder methods.

JAVA-2240
Branch: refs/tags/r3.3.0
https://github.com/mongodb/mongo-java-driver/commit/08f2160f30287e67d2258f31af0fbb203897c8ba

Comment by Githook User [ 08/Jul/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Javadoc: Updates to MongoClientOptions.Builder

Explicitly declare the time units for various builder methods.

JAVA-2240
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/08f2160f30287e67d2258f31af0fbb203897c8ba

Comment by Ross Lawley [ 08/Jul/16 ]

Thanks for the ticket, they are in milliseconds - as indicated by the getMaxConnectionIdleTime

I'll update the builder java doc to ensure it contains the unit for the setters.

Generated at Thu Feb 08 08:56:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.