Package com.mongodb.event
Class ConnectionPoolListenerAdapter
java.lang.Object
com.mongodb.event.ConnectionPoolListenerAdapter
- All Implemented Interfaces:
ConnectionPoolListener
,EventListener
@Deprecated
public class ConnectionPoolListenerAdapter
extends Object
implements ConnectionPoolListener
Deprecated.
An adapter for connection pool listener implementations, for clients that want to listen for a subset of connection pool events. Extend
this class to listen for connection pool events and override the methods of interest.
- Since:
- 3.5
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mongodb.event.ConnectionPoolListener
connectionAdded, connectionCheckedIn, connectionCheckedOut, connectionCheckOutFailed, connectionCheckOutStarted, connectionClosed, connectionCreated, connectionPoolCleared, connectionPoolClosed, connectionPoolCreated, connectionPoolOpened, connectionPoolReady, connectionReady, connectionRemoved
-
Constructor Details
-
ConnectionPoolListenerAdapter
public ConnectionPoolListenerAdapter()Deprecated.
-