Class ServerListenerAdapter

java.lang.Object
com.mongodb.event.ServerListenerAdapter
All Implemented Interfaces:
ServerListener, EventListener

@Deprecated public class ServerListenerAdapter extends Object implements ServerListener
Deprecated.
An adapter for server listener implementations, for clients that want to listen for a subset of server events. Extend this class to listen for server events and override the methods of interest.
Since:
3.5
  • Constructor Details

    • ServerListenerAdapter

      public ServerListenerAdapter()
      Deprecated.