Class ConnectionPoolOpenedEvent

java.lang.Object
com.mongodb.event.ConnectionPoolOpenedEvent

@Deprecated public final class ConnectionPoolOpenedEvent extends Object
Deprecated.
An event signifying the opening of a connection pool.
Since:
3.5
  • Constructor Details

    • ConnectionPoolOpenedEvent

      public ConnectionPoolOpenedEvent(ServerId serverId, ConnectionPoolSettings settings)
      Deprecated.
      Constructs a new instance of the event.
      Parameters:
      serverId - the server id
      settings - the connection pool settings
  • Method Details

    • getServerId

      public ServerId getServerId()
      Deprecated.
      Gets the server id
      Returns:
      the server id
    • getSettings

      public ConnectionPoolSettings getSettings()
      Deprecated.
      Gets the connection pool settings.
      Returns:
      the connection pool settings.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object