Class ConnectionPoolOpenedEvent



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

      • ConnectionPoolOpenedEvent

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

      • getServerId

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

        public ConnectionPoolSettings getSettings​()
        Gets the connection pool settings.
        Returns:
        the connection pool setttings.