Package com.mongodb.management
Class JMXConnectionPoolListener
java.lang.Object
com.mongodb.management.JMXConnectionPoolListener
- All Implemented Interfaces:
ConnectionPoolListener
,EventListener
@Deprecated(since="2021-05-27")
public class JMXConnectionPoolListener
extends Object
implements ConnectionPoolListener
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A connection pool listener that manages a set of JMX MBeans, one for each connection pool.
- Since:
- 3.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Invoked when a connection is added to a pool.void
Deprecated.Invoked when a connection is checked in to a pool.void
Deprecated.Invoked when a connection is checked out of a pool.void
Deprecated.Invoked when a connection pool is closed.void
Deprecated.Invoked when a connection pool is opened.void
Deprecated.Invoked when a connection is removed from a pool.void
Deprecated.Invoked when a connection pool's wait queue is entered.void
Deprecated.Invoked when a connection pools wait queue is exited.
-
Constructor Details
-
JMXConnectionPoolListener
public JMXConnectionPoolListener()Deprecated.
-
-
Method Details
-
connectionPoolOpened
Deprecated.Description copied from interface:ConnectionPoolListener
Invoked when a connection pool is opened.- Specified by:
connectionPoolOpened
in interfaceConnectionPoolListener
- Parameters:
event
- the event
-
connectionPoolClosed
Deprecated.Description copied from interface:ConnectionPoolListener
Invoked when a connection pool is closed.- Specified by:
connectionPoolClosed
in interfaceConnectionPoolListener
- Parameters:
event
- the event
-
connectionCheckedOut
Deprecated.Description copied from interface:ConnectionPoolListener
Invoked when a connection is checked out of a pool.- Specified by:
connectionCheckedOut
in interfaceConnectionPoolListener
- Parameters:
event
- the event
-
connectionCheckedIn
Deprecated.Description copied from interface:ConnectionPoolListener
Invoked when a connection is checked in to a pool.- Specified by:
connectionCheckedIn
in interfaceConnectionPoolListener
- Parameters:
event
- the event
-
waitQueueEntered
Deprecated.Description copied from interface:ConnectionPoolListener
Invoked when a connection pool's wait queue is entered.- Specified by:
waitQueueEntered
in interfaceConnectionPoolListener
- Parameters:
event
- the event
-
waitQueueExited
Deprecated.Description copied from interface:ConnectionPoolListener
Invoked when a connection pools wait queue is exited.- Specified by:
waitQueueExited
in interfaceConnectionPoolListener
- Parameters:
event
- the event
-
connectionAdded
Deprecated.Description copied from interface:ConnectionPoolListener
Invoked when a connection is added to a pool.- Specified by:
connectionAdded
in interfaceConnectionPoolListener
- Parameters:
event
- the event
-
connectionRemoved
Deprecated.Description copied from interface:ConnectionPoolListener
Invoked when a connection is removed from a pool.- Specified by:
connectionRemoved
in interfaceConnectionPoolListener
- Parameters:
event
- the event
-