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 Details

    • ConnectionPoolListenerAdapter

      public ConnectionPoolListenerAdapter()
      Deprecated.