|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsnaq.util.ObjectPoolEventAdapter
snaq.db.ConnectionPoolEventAdapter
public class ConnectionPoolEventAdapter
Adapter implementation for handling ConnectionPoolEvent objects for
ConnectionPool instances.
Provides null implementations of all listener methods so a sub-class can
simply override the ones required.
| Constructor Summary | |
|---|---|
ConnectionPoolEventAdapter()
|
|
| 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. |
| Methods inherited from class snaq.util.ObjectPoolEventAdapter |
|---|
maxPoolLimitExceeded, maxPoolLimitReached, maxSizeLimitError, maxSizeLimitReached, poolCheckIn, poolCheckOut, poolFlushed, poolInitCompleted, poolParametersChanged, poolReleased, validationError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionPoolEventAdapter()
| Method Detail |
|---|
public void poolInitCompleted(ConnectionPoolEvent evt)
ConnectionPoolListenerObjectPool.init(int) method has completed.
poolInitCompleted in interface ConnectionPoolListenerpublic void poolCheckOut(ConnectionPoolEvent evt)
ConnectionPoolListener
poolCheckOut in interface ConnectionPoolListenerpublic void poolCheckIn(ConnectionPoolEvent evt)
ConnectionPoolListener
poolCheckIn in interface ConnectionPoolListenerpublic void validationError(ConnectionPoolEvent evt)
ConnectionPoolListener
validationError in interface ConnectionPoolListenerpublic void maxPoolLimitReached(ConnectionPoolEvent evt)
ConnectionPoolListener
maxPoolLimitReached in interface ConnectionPoolListenerpublic void maxPoolLimitExceeded(ConnectionPoolEvent evt)
ConnectionPoolListener
maxPoolLimitExceeded in interface ConnectionPoolListenerpublic void maxSizeLimitReached(ConnectionPoolEvent evt)
ConnectionPoolListener
maxSizeLimitReached in interface ConnectionPoolListenerpublic void maxSizeLimitError(ConnectionPoolEvent evt)
ConnectionPoolListener
maxSizeLimitError in interface ConnectionPoolListenerpublic void poolParametersChanged(ConnectionPoolEvent evt)
ConnectionPoolListener
poolParametersChanged in interface ConnectionPoolListenerpublic void poolFlushed(ConnectionPoolEvent evt)
ConnectionPoolListener
poolFlushed in interface ConnectionPoolListenerpublic void poolReleased(ConnectionPoolEvent evt)
ConnectionPoolListener
poolReleased in interface ConnectionPoolListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||