Interface ConnectionPoolListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
JMXConnectionPoolListener

public interface ConnectionPoolListener extends EventListener
A listener for connection pool-related events.
Since:
3.5
  • Method Details

    • connectionPoolCreated

      default void connectionPoolCreated(ConnectionPoolCreatedEvent event)
      Invoked when a connection pool is created. The default implementation does nothing.
      Parameters:
      event - the event
      Since:
      4.0
    • connectionPoolCleared

      default void connectionPoolCleared(ConnectionPoolClearedEvent event)
      Invoked when a connection pool is cleared and paused. The default implementation does nothing.
      Parameters:
      event - the event
      Since:
      4.0
    • connectionPoolReady

      default void connectionPoolReady(ConnectionPoolReadyEvent event)
      Invoked when a connection pool is ready. The default implementation does nothing.
      Parameters:
      event - the event
      Since:
      4.3
    • connectionPoolClosed

      default void connectionPoolClosed(ConnectionPoolClosedEvent event)
      Invoked when a connection pool is closed. The default implementation does nothing.
      Parameters:
      event - the event
    • connectionCheckOutStarted

      default void connectionCheckOutStarted(ConnectionCheckOutStartedEvent event)
      Invoked when attempting to check out a connection from a pool. The default implementation does nothing.
      Parameters:
      event - the event
      Since:
      4.0
    • connectionCheckedOut

      default void connectionCheckedOut(ConnectionCheckedOutEvent event)
      Invoked when a connection is checked out of a pool. The default implementation does nothing.
      Parameters:
      event - the event
    • connectionCheckOutFailed

      default void connectionCheckOutFailed(ConnectionCheckOutFailedEvent event)
      Invoked when an attempt to check out a connection from a pool fails. The default implementation does nothing.
      Parameters:
      event - the event
      Since:
      4.0
    • connectionCheckedIn

      default void connectionCheckedIn(ConnectionCheckedInEvent event)
      Invoked when a connection is checked in to a pool. The default implementation does nothing.
      Parameters:
      event - the event
    • connectionCreated

      default void connectionCreated(ConnectionCreatedEvent event)
      Invoked when a connection is created. The default implementation does nothing.
      Parameters:
      event - the event
      Since:
      4.0
    • connectionReady

      default void connectionReady(ConnectionReadyEvent event)
      Invoked when a connection is ready for use. The default implementation does nothing.
      Parameters:
      event - the event
      Since:
      4.0
    • connectionClosed

      default void connectionClosed(ConnectionClosedEvent event)
      Invoked when a connection is removed from a pool. The default implementation does nothing.
      Parameters:
      event - the event
      Since:
      4.0