[JAVA-1220] DBPort should avoid turning the active query into a string unless it's needed. Created: 13/May/14  Updated: 01/Aug/14  Resolved: 14/May/14

Status: Closed
Project: Java Driver
Component/s: Performance
Affects Version/s: None
Fix Version/s: 2.12.2

Type: Improvement Priority: Minor - P4
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

DBPort tracks the active state of the connection, including the query that is currently being executed. Instead of turning the query into a string, it should just store a reference to the DBObject. The JMX Bean that uses the query can transform it into a String if needed.



 Comments   
Comment by Githook User [ 01/Aug/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1220: Avoid turning the active query into a string unless it's needed.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/612b71b5887122ac32e68d7a11aa952d1ed4bbc3

Comment by Githook User [ 14/May/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1220: Avoid turning the active query into a string unless it's needed.
Branch: 2.12.x
https://github.com/mongodb/mongo-java-driver/commit/612b71b5887122ac32e68d7a11aa952d1ed4bbc3

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