@Beta public final class ConnectionPoolEventMulticaster extends java.lang.Object implements ConnectionPoolListener
| 构造器和说明 |
|---|
ConnectionPoolEventMulticaster() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(ConnectionPoolListener connectionPoolListener)
Adds the given connection pool listener to the list of listeners to invoke on connection pool events.
|
void |
connectionAdded(ConnectionAddedEvent event)
Invoked when a connection is added to a pool.
|
void |
connectionCheckedIn(ConnectionCheckedInEvent event)
Invoked when a connection is checked in to a pool.
|
void |
connectionCheckedOut(ConnectionCheckedOutEvent event)
Invoked when a connection is checked out of a pool.
|
void |
connectionPoolClosed(ConnectionPoolClosedEvent event)
Invoked when a connection pool is closed.
|
void |
connectionPoolOpened(ConnectionPoolOpenedEvent event)
Invoked when a connection pool is opened.
|
void |
connectionRemoved(ConnectionRemovedEvent event)
Invoked when a connection is removed from a pool.
|
void |
remove(ConnectionPoolListener connectionPoolListener)
Removes the given connection pool listener from the list of listeners to invoke on connection pool events.
|
void |
waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent event)
Invoked when a connection pool's wait queue is entered.
|
void |
waitQueueExited(ConnectionPoolWaitQueueExitedEvent event)
Invoked when a connection pools wait queue is exited.
|
public void add(ConnectionPoolListener connectionPoolListener)
connectionPoolListener - the connection pool listenerpublic void remove(ConnectionPoolListener connectionPoolListener)
connectionPoolListener - the connection pool listenerpublic void connectionPoolOpened(ConnectionPoolOpenedEvent event)
ConnectionPoolListenerconnectionPoolOpened 在接口中 ConnectionPoolListenerevent - the eventpublic void connectionPoolClosed(ConnectionPoolClosedEvent event)
ConnectionPoolListenerconnectionPoolClosed 在接口中 ConnectionPoolListenerevent - the eventpublic void connectionCheckedOut(ConnectionCheckedOutEvent event)
ConnectionPoolListenerconnectionCheckedOut 在接口中 ConnectionPoolListenerevent - the eventpublic void connectionCheckedIn(ConnectionCheckedInEvent event)
ConnectionPoolListenerconnectionCheckedIn 在接口中 ConnectionPoolListenerevent - the eventpublic void waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent event)
ConnectionPoolListenerwaitQueueEntered 在接口中 ConnectionPoolListenerevent - the eventpublic void waitQueueExited(ConnectionPoolWaitQueueExitedEvent event)
ConnectionPoolListenerwaitQueueExited 在接口中 ConnectionPoolListenerevent - the eventpublic void connectionAdded(ConnectionAddedEvent event)
ConnectionPoolListenerconnectionAdded 在接口中 ConnectionPoolListenerevent - the eventpublic void connectionRemoved(ConnectionRemovedEvent event)
ConnectionPoolListenerconnectionRemoved 在接口中 ConnectionPoolListenerevent - the event