Class ConnectionClosedEvent


  • public final class ConnectionClosedEvent
    extends Object
    An event for when a connection pool closes a connection.
    Since:
    4.0
    • Constructor Detail

      • ConnectionClosedEvent

        public ConnectionClosedEvent​(ConnectionId connectionId,
                                     ConnectionClosedEvent.Reason reason)
        Construct an instance
        Parameters:
        connectionId - the connection id
        reason - the reason the connection was closed