Class ConnectionPoolReadyEvent

java.lang.Object
com.mongodb.event.ConnectionPoolReadyEvent

public final class ConnectionPoolReadyEvent extends Object
An event signifying when a connection pool is ready.
Since:
4.3
  • Constructor Details

    • ConnectionPoolReadyEvent

      public ConnectionPoolReadyEvent(ServerId serverId)
      Constructs a new instance of the event.
      Parameters:
      serverId - the server id
  • Method Details

    • getServerId

      public ServerId getServerId()
      Gets the server id
      Returns:
      the server id
    • toString

      public String toString()
      Overrides:
      toString in class Object