Skip to content

Commit 6b86e2b

Browse files
committed
MW review
1 parent 21c7ca0 commit 6b86e2b

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

source/whats-new.txt

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,22 @@ The 5.0 driver release introduces the following features:
5454
name, or it defaults to ``MULTIPLE`` if you specify more than one
5555
host.
5656

57-
<<<<<<< HEAD
5857
- ``BsonDecimal128`` values respond to method calls in the same way as Java
5958
``Decimal128`` values. In particular, the error responses for the
6059
``isNumber()`` and ``asNumber()`` methods match the Java responses for
6160
equivalent ``Decimal128`` values.
62-
=======
63-
- The ``ConnectionCheckedOutEvent.getElapsedTime`` method now includes the time
64-
taken to create the connection. That is, the "timer" starts before the
65-
connection is confirmed, rather than after.
66-
>>>>>>> 1b774b1 (connection even time)
61+
62+
- The ``getElapsedTime`` method on ``com.mongodb.event.ConnectionReadyEvent``
63+
includes the time taken to deliver the ``ConnectionPoolListener``. That is,
64+
the time returned includes the duration of
65+
``com.mongodb.event.ConnectionPoolListener.connectionCreated``.
66+
67+
The ``getElapsedTime`` methods on
68+
``com.mongodb.event.ConnectionCheckedOutFailedEvent`` and
69+
``com.mongodb.event.ConnectionCheckedOutEvent`` include the time taken to
70+
deliver the ``com.mongodb.event.ConnectionCheckOutStartedEvent``. That is, the
71+
time returned includes the duration of
72+
``com.mongodb.eventConnectionPoolListener.connectionCheckOutStarted``.
6773

6874
- The ``org.mongodb.scala.Observable.completeWithUnit()`` method is deprecated.
6975
This relates to a :ref:`breaking change about Observables in this version

0 commit comments

Comments
 (0)