-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: API, Monitoring
-
None
-
(copied to CRM)
It'd be potentially useful for the status of a replica set connection to be observable, so an observer can subscribe and be made aware of any events (eg. change in primary, no primary or no majority, etc.).
Similarly, it could be useful for the status of the connection pool and of each connection to be observable.
Specifically, the driver should surface the following events to listeners:
- connection pool opened
- connection pool closed
- connection added to pool
- connection removed from pool
- connection checked out of pool
- connection checked in to pool
- connection pool wait queue entered
- connection pool wait queue exited
- connection opened
- connection closed
- is duplicated by
-
JAVA-788 Detecting Server Going Away?
- Closed
-
JAVA-799 Make it possible to get the replica set status
- Closed
-
JAVA-1110 Driver events
- Closed
-
JAVA-2459 Add support for ConnectionListener and ConnectionPoolListener to MongoClientOptions
- Closed
-
JAVA-991 Cannot determine actual ReplSetStatus from singleton MongoClient getReplicaSetStatus()
- Closed
- is related to
-
JAVA-1583 Disable JMX registration
- Closed