Package com.mongodb.event
Interface ConnectionPoolListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
ConnectionPoolEventMulticaster,ConnectionPoolListenerAdapter,JMXConnectionPoolListener
@Deprecated(since="2021-05-27") public interface ConnectionPoolListener extends java.util.EventListenerDeprecated.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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidconnectionAdded(ConnectionAddedEvent event)Deprecated.Invoked when a connection is added to a pool.voidconnectionCheckedIn(ConnectionCheckedInEvent event)Deprecated.Invoked when a connection is checked in to a pool.voidconnectionCheckedOut(ConnectionCheckedOutEvent event)Deprecated.Invoked when a connection is checked out of a pool.voidconnectionPoolClosed(ConnectionPoolClosedEvent event)Deprecated.Invoked when a connection pool is closed.voidconnectionPoolOpened(ConnectionPoolOpenedEvent event)Deprecated.Invoked when a connection pool is opened.voidconnectionRemoved(ConnectionRemovedEvent event)Deprecated.Invoked when a connection is removed from a pool.voidwaitQueueEntered(ConnectionPoolWaitQueueEnteredEvent event)Deprecated.In the next major release, this event will no longer be publishedvoidwaitQueueExited(ConnectionPoolWaitQueueExitedEvent event)Deprecated.In the next major release, this event will no longer be published
-
-
-
Method Detail
-
connectionPoolOpened
void connectionPoolOpened(ConnectionPoolOpenedEvent event)
Deprecated.Invoked when a connection pool is opened.- Parameters:
event- the event
-
connectionPoolClosed
void connectionPoolClosed(ConnectionPoolClosedEvent event)
Deprecated.Invoked when a connection pool is closed.- Parameters:
event- the event
-
connectionCheckedOut
void connectionCheckedOut(ConnectionCheckedOutEvent event)
Deprecated.Invoked when a connection is checked out of a pool.- Parameters:
event- the event
-
connectionCheckedIn
void connectionCheckedIn(ConnectionCheckedInEvent event)
Deprecated.Invoked when a connection is checked in to a pool.- Parameters:
event- the event
-
waitQueueEntered
@Deprecated void waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent event)
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 void waitQueueExited(ConnectionPoolWaitQueueExitedEvent event)
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
void connectionAdded(ConnectionAddedEvent event)
Deprecated.Invoked when a connection is added to a pool.- Parameters:
event- the event
-
connectionRemoved
void connectionRemoved(ConnectionRemovedEvent event)
Deprecated.Invoked when a connection is removed from a pool.- Parameters:
event- the event
-
-