@Beta public interface ConnectionPoolListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
connectionAdded(ConnectionAddedEvent event)
Invoked when a connection is added to a pool.
|
void |
connectionCheckedIn(ConnectionCheckedInEvent event)
Invoked when a connection is checked in to a pool.
|
void |
connectionCheckedOut(ConnectionCheckedOutEvent event)
Invoked when a connection is checked out of a pool.
|
void |
connectionPoolClosed(ConnectionPoolClosedEvent event)
Invoked when a connection pool is closed.
|
void |
connectionPoolOpened(ConnectionPoolOpenedEvent event)
Invoked when a connection pool is opened.
|
void |
connectionRemoved(ConnectionRemovedEvent event)
Invoked when a connection is removed from a pool.
|
void |
waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent event)
Invoked when a connection pool's wait queue is entered.
|
void |
waitQueueExited(ConnectionPoolWaitQueueExitedEvent event)
Invoked when a connection pools wait queue is exited.
|
void connectionPoolOpened(ConnectionPoolOpenedEvent event)
event
- the eventvoid connectionPoolClosed(ConnectionPoolClosedEvent event)
event
- the eventvoid connectionCheckedOut(ConnectionCheckedOutEvent event)
event
- the eventvoid connectionCheckedIn(ConnectionCheckedInEvent event)
event
- the eventvoid waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent event)
event
- the eventvoid waitQueueExited(ConnectionPoolWaitQueueExitedEvent event)
event
- the eventvoid connectionAdded(ConnectionAddedEvent event)
event
- the eventvoid connectionRemoved(ConnectionRemovedEvent event)
event
- the event