Class ConnectionCheckOutFailedEvent


  • public final class ConnectionCheckOutFailedEvent
    extends Object
    An event for when checking out a connection fails.
    Since:
    4.0
    • Constructor Detail

      • ConnectionCheckOutFailedEvent

        public ConnectionCheckOutFailedEvent​(ServerId serverId,
                                             ConnectionCheckOutFailedEvent.Reason reason)
        Construct an instance
        Parameters:
        serverId - the server id
        reason - the reason the connection check out failed
    • Method Detail

      • getServerId

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