Package com.mongodb.event
Interface ConnectionPoolListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
ConnectionPoolEventMulticaster,ConnectionPoolListenerAdapter,JMXConnectionPoolListener
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A listener for connection pool-related events.
- Since:
- 3.5
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Invoked when a connection is added to a pool.voidDeprecated.Invoked when a connection is checked in to a pool.voidDeprecated.Invoked when a connection is checked out of a pool.voidDeprecated.Invoked when a connection pool is closed.voidDeprecated.Invoked when a connection pool is opened.voidDeprecated.Invoked when a connection is removed from a pool.voidDeprecated.In the next major release, this event will no longer be publishedvoidDeprecated.In the next major release, this event will no longer be published
-
Method Details
-
connectionPoolOpened
Deprecated.Invoked when a connection pool is opened.- Parameters:
event- the event
-
connectionPoolClosed
Deprecated.Invoked when a connection pool is closed.- Parameters:
event- the event
-
connectionCheckedOut
Deprecated.Invoked when a connection is checked out of a pool.- Parameters:
event- the event
-
connectionCheckedIn
Deprecated.Invoked when a connection is checked in to a pool.- Parameters:
event- the event
-
waitQueueEntered
Deprecated.In the next major release, this event will no longer be publishedInvoked when a connection pool's wait queue is entered.- Parameters:
event- the event
-
waitQueueExited
Deprecated.In the next major release, this event will no longer be publishedInvoked when a connection pools wait queue is exited.- Parameters:
event- the event
-
connectionAdded
Deprecated.Invoked when a connection is added to a pool.- Parameters:
event- the event
-
connectionRemoved
Deprecated.Invoked when a connection is removed from a pool.- Parameters:
event- the event
-