8000 events classes deprecation · mongodb/docs-java@203f14c · GitHub
[go: up one dir, main page]

Skip to content

Commit 203f14c

Browse files
committed
events classes deprecation
1 parent 992dda6 commit 203f14c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

source/upgrade.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,20 @@ Version 5.0 Breaking Changes
116116
.. After the 5.0 Scala API docs are released, this line will be uncommented.
117117
For more information, see the `Observable trait documentation <https://mongodb.github.io/mongo-java-driver/5.0/apidocs/mongo-scala-driver/org/mongodb/scala/Observable.html>`__.
118118

119+
- This driver version removes the following classes from the
120+
``com.mongodb.event`` package:
121+
122+
- ``ClusterListenerAdapter``
123+
- ``ConnectionAddedEvent``
124+
- ``ConnectionPoolListenerAdapter``
125+
- ``ConnectionPoolOpenedEvent``
126+
- ``ConnectionRemovedEvent``
127+
- ``ServerListenerAdapter``
128+
- ``ServerMonitorListenerAdapter``
129+
130+
For more information about the events package, see the `com.mongodb.event
131+
package documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/event/package-summary.html>`__
132+
119133
.. _java-breaking-changes-v4.8:
120134

121135
Version 4.8 Breaking Changes

0 commit comments

Comments
 (0)
0