Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1220

DBPort should avoid turning the active query into a string unless it's needed.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.12.2
    • Affects Version/s: None
    • Component/s: Performance
    • Labels:
      None

      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.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: