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:
59
59
``isNumber()`` and ``asNumber()`` methods match the Java responses for
60
60
equivalent ``Decimal128`` values.
61
61
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
+
62
74
- The ``org.mongodb.scala.Observable.completeWithUnit()`` method is deprecated.
63
75
This relates to a :ref:`breaking change about Observables in this version
64
76
<java-breaking-changes-v5.0-observables>`.
You can’t perform that action at this time.
0 commit comments