public interface ConnectionPoolListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
connectionCreated(ConnectionPoolEvent event)
Invoked when a connection has been created.
|
void |
connectionExpired(ConnectionPoolEvent event)
Invoked when a connection is cleaned up by the maintenance thread
because one or more of its properties has expired.
|
void |
connectionPoolClosed(ConnectionPoolEvent event)
Invoked when a pool has been closed.
|
void |
connectionReleased(ConnectionPoolEvent event)
Invoked when a connection has been given out.
|
void |
connectionReturned(ConnectionPoolEvent event)
Invoked when a connection has been returned.
|
void |
maintenanceThreadRun(ConnectionPoolEvent event)
Invoked when the maintenance thread runs.
|
void connectionCreated(ConnectionPoolEvent event)
event
- The connection pool event.void connectionExpired(ConnectionPoolEvent event)
event
- The connection pool event.void connectionPoolClosed(ConnectionPoolEvent event)
event
- The connection pool event.void connectionReleased(ConnectionPoolEvent event)
event
- The connection pool event.void connectionReturned(ConnectionPoolEvent event)
event
- The connection pool event.void maintenanceThreadRun(ConnectionPoolEvent event)
event
- The connection pool event.