public interface ConnectionPoolListener extends EventListener
ConnectionPoolEvent instances.
Listeners should ensure the implementations of the listed methods return
quickly. Tasks that require more time should spawn a new thread.| Modifier and Type | Method and Description |
|---|---|
void |
maxPoolLimitExceeded(ConnectionPoolEvent evt)
Called when a check-out request causes the maxPool limit to be exceeded.
|
void |
maxPoolLimitReached(ConnectionPoolEvent evt)
Called when a check-out request causes the maxPool limit to be reached.
|
void |
maxSizeLimitError(ConnectionPoolEvent evt)
Called when a check-out request attempts to exceed the maxSize limit.
|
void |
maxSizeLimitReached(ConnectionPoolEvent evt)
Called when a check-out request causes the maxSize limit to be reached.
|
void |
poolCheckIn(ConnectionPoolEvent evt)
Called when a connection is checked back in to the pool.
|
void |
poolCheckOut(ConnectionPoolEvent evt)
Called when a connection is checked out of the pool.
|
void |
poolFlushed(ConnectionPoolEvent evt)
Called when the pool is flushed of free/unused connections.
|
void |
poolInitCompleted(ConnectionPoolEvent evt)
Called when the pool's
ObjectPool.init(int) method has completed. |
void |
poolParametersChanged(ConnectionPoolEvent evt)
Called when the pool's parameters are changed.
|
void |
poolReleased(ConnectionPoolEvent evt)
Called when the pool is released (no more events are fired by the pool after this event).
|
void |
validationError(ConnectionPoolEvent evt)
Called when a connection is found to be invalid.
|
void poolInitCompleted(ConnectionPoolEvent evt)
ObjectPool.init(int) method has completed.evt - event instancevoid poolCheckOut(ConnectionPoolEvent evt)
evt - event instancevoid poolCheckIn(ConnectionPoolEvent evt)
evt - event instancevoid validationError(ConnectionPoolEvent evt)
evt - event instancevoid maxPoolLimitReached(ConnectionPoolEvent evt)
evt - event instancevoid maxPoolLimitExceeded(ConnectionPoolEvent evt)
evt - event instancevoid maxSizeLimitReached(ConnectionPoolEvent evt)
evt - event instancevoid maxSizeLimitError(ConnectionPoolEvent evt)
evt - event instancevoid poolParametersChanged(ConnectionPoolEvent evt)
evt - event instancevoid poolFlushed(ConnectionPoolEvent evt)
evt - event instancevoid poolReleased(ConnectionPoolEvent evt)
evt - event instanceCopyright © 2013. All Rights Reserved.