public class ConnectionPoolEventAdapter extends ObjectPoolEventAdapter<CacheConnection> implements ConnectionPoolListener
ConnectionPoolEvent objects for
ConnectionPool instances.
Provides null implementations of all listener methods so a sub-class can
simply override the ones required.| Constructor and Description |
|---|
ConnectionPoolEventAdapter() |
| 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.
|
maxPoolLimitExceeded, maxPoolLimitReached, maxSizeLimitError, maxSizeLimitReached, poolCheckIn, poolCheckOut, poolFlushed, poolInitCompleted, poolParametersChanged, poolReleased, validationErrorpublic void poolInitCompleted(ConnectionPoolEvent evt)
ConnectionPoolListenerObjectPool.init(int) method has completed.poolInitCompleted in interface ConnectionPoolListenerevt - event instancepublic void poolCheckOut(ConnectionPoolEvent evt)
ConnectionPoolListenerpoolCheckOut in interface ConnectionPoolListenerevt - event instancepublic void poolCheckIn(ConnectionPoolEvent evt)
ConnectionPoolListenerpoolCheckIn in interface ConnectionPoolListenerevt - event instancepublic void validationError(ConnectionPoolEvent evt)
ConnectionPoolListenervalidationError in interface ConnectionPoolListenerevt - event instancepublic void maxPoolLimitReached(ConnectionPoolEvent evt)
ConnectionPoolListenermaxPoolLimitReached in interface ConnectionPoolListenerevt - event instancepublic void maxPoolLimitExceeded(ConnectionPoolEvent evt)
ConnectionPoolListenermaxPoolLimitExceeded in interface ConnectionPoolListenerevt - event instancepublic void maxSizeLimitReached(ConnectionPoolEvent evt)
ConnectionPoolListenermaxSizeLimitReached in interface ConnectionPoolListenerevt - event instancepublic void maxSizeLimitError(ConnectionPoolEvent evt)
ConnectionPoolListenermaxSizeLimitError in interface ConnectionPoolListenerevt - event instancepublic void poolParametersChanged(ConnectionPoolEvent evt)
ConnectionPoolListenerpoolParametersChanged in interface ConnectionPoolListenerevt - event instancepublic void poolFlushed(ConnectionPoolEvent evt)
ConnectionPoolListenerpoolFlushed in interface ConnectionPoolListenerevt - event instancepublic void poolReleased(ConnectionPoolEvent evt)
ConnectionPoolListenerpoolReleased in interface ConnectionPoolListenerevt - event instanceCopyright © 2016. All rights reserved.