8000 [JAVA] Remove deprecated event-related classes by rachel-mack · Pull Request #515 · mongodb/docs-java · GitHub
[go: up one dir, main page]

Skip to content

[JAVA] Remove deprecated event-related classes #515

< 8000 div class="d-flex flex-order-2 flex-md-order-1 mx-2">
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions source/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,27 @@ This driver version introduces the following breaking changes:
the error labels included in the ``MongoException`` object that contains the
``WriteConcernError``.

- Removes the following classes from the
``com.mongodb.event`` package:

- ``ConnectionAddedEvent``
- ``ConnectionPoolOpenedEvent``
- ``ConnectionRemovedEvent``
- ``ClusterListenerAdapter``
- ``ConnectionPoolListenerAdapter``
- ``ServerListenerAdapter``
- ``ServerMonitorListenerAdapter``

Because of these removals, the following methods were also removed from the
``ConnectionPoolListener`` interface:

- ``connectionAdded``
- ``connectionPoolOpened``
- ``connectionRemoved``

For more information about the events package, see the `com.mongodb.event
package documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/event/package-summary.html>`__

.. _java-breaking-changes-v4.8:

Version 4.8 Breaking Changes
Expand Down
0