File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,27 @@ This driver version introduces the following breaking changes:
241241 the error labels included in the ``MongoException`` object that contains the
242242 ``WriteConcernError``.
243243
244+ - Removes the following classes from the
245+ ``com.mongodb.event`` package:
246+
247+ - ``ConnectionAddedEvent``
248+ - ``ConnectionPoolOpenedEvent``
249+ - ``ConnectionRemovedEvent``
250+ - ``ClusterListenerAdapter``
251+ - ``ConnectionPoolListenerAdapter``
252+ - ``ServerListenerAdapter``
253+ - ``ServerMonitorListenerAdapter``
254+
255+ Because of these removals, the following methods were also removed from the
256+ ``ConnectionPoolListener`` interface:
257+
258+ - ``connectionAdded``
259+ - ``connectionPoolOpened``
260+ - ``connectionRemoved``
261+
262+ For more information about the events package, see the `com.mongodb.event
263+ package documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/event/package-summary.html>`__
264+
244265.. _java-breaking-changes-v4.8:
245266
246267Version 4.8 Breaking Changes
You can’t perform that action at this time.
0 commit comments