File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,18 @@ The 5.0 driver release introduces the following features:
5959 ``isNumber()`` and ``asNumber()`` methods match the Java responses for
6060 equivalent ``Decimal128`` values.
6161
62+ - The ``getElapsedTime()`` method on ``com.mongodb.event.ConnectionReadyEvent``
63+ includes the time taken to deliver the ``ConnectionCreatedEvent``. That is,
64+ the time returned includes the duration of the
65+ ``com.mongodb.event.ConnectionPoolListener.connectionCreated()`` method.
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 the
72+ ``com.mongodb.eventConnectionPoolListener.connectionCheckOutStarted()`` method.
73+
6274- The ``org.mongodb.scala.Observable.completeWithUnit()`` method is deprecated.
6375 This relates to a :ref:`breaking change about Observables in this version
6476 <java-breaking-changes-v5.0-observables>`.
You can’t perform that action at this time.
0 commit comments