|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionPoolListener
Listener for ConnectionPoolEvent
instances.
Listeners should ensure the implementations of the listed methods return
quickly. Tasks that require more time should spawn a new thread.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void poolInitCompleted(ConnectionPoolEvent evt)
ObjectPool.init(int)
method has completed.
void poolCheckOut(ConnectionPoolEvent evt)
void poolCheckIn(ConnectionPoolEvent evt)
void validationError(ConnectionPoolEvent evt)
void maxPoolLimitReached(ConnectionPoolEvent evt)
void maxPoolLimitExceeded(ConnectionPoolEvent evt)
void maxSizeLimitReached(ConnectionPoolEvent evt)
void maxSizeLimitError(ConnectionPoolEvent evt)
void poolParametersChanged(ConnectionPoolEvent evt)
void poolFlushed(ConnectionPoolEvent evt)
void poolReleased(ConnectionPoolEvent evt)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |