|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConnectionPoolListener extends EventListener
The ConnectionPoolListener interface provides a listener interface for receiving Connection Pool events.
| 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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||