Class ServerEventMulticaster

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

@Deprecated public final class ServerEventMulticaster extends Object implements ServerListener
Deprecated.
register multiple server listeners instead
A multicaster for server events.
Since:
3.3
  • Constructor Details

    • ServerEventMulticaster

      public ServerEventMulticaster(List<ServerListener> serverListeners)
      Deprecated.
      Construct an instance with the given list of server listeners
      Parameters:
      serverListeners - the non-null list of server listeners, none of which may be null
  • Method Details