|
|||||||||
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionPoolEventAdapter()
Method Detail |
---|
public void poolInitCompleted(ConnectionPoolEvent evt)
ConnectionPoolListener
ObjectPool.init(int)
method has completed.
poolInitCompleted
in interface ConnectionPoolListener
public void poolCheckOut(ConnectionPoolEvent evt)
ConnectionPoolListener
poolCheckOut
in interface ConnectionPoolListener
public void poolCheckIn(ConnectionPoolEvent evt)
ConnectionPoolListener
poolCheckIn
in interface ConnectionPoolListener
public void validationError(ConnectionPoolEvent evt)
ConnectionPoolListener
validationError
in interface ConnectionPoolListener
public void maxPoolLimitReached(ConnectionPoolEvent evt)
ConnectionPoolListener
maxPoolLimitReached
in interface ConnectionPoolListener
public void maxPoolLimitExceeded(ConnectionPoolEvent evt)
ConnectionPoolListener
maxPoolLimitExceeded
in interface ConnectionPoolListener
public void maxSizeLimitReached(ConnectionPoolEvent evt)
ConnectionPoolListener
maxSizeLimitReached
in interface ConnectionPoolListener
public void maxSizeLimitError(ConnectionPoolEvent evt)
ConnectionPoolListener
maxSizeLimitError
in interface ConnectionPoolListener
public void poolParametersChanged(ConnectionPoolEvent evt)
ConnectionPoolListener
poolParametersChanged
in interface ConnectionPoolListener
public void poolFlushed(ConnectionPoolEvent evt)
ConnectionPoolListener
poolFlushed
in interface ConnectionPoolListener
public 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 |