@Beta @Deprecated public final class ConnectionPoolEventMulticaster extends java.lang.Object implements ConnectionPoolListener
Constructor and Description |
---|
ConnectionPoolEventMulticaster()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ConnectionPoolListener connectionPoolListener)
Deprecated.
Adds the given connection pool listener to the list of listeners to invoke on connection pool events.
|
void |
connectionAdded(ConnectionAddedEvent event)
Deprecated.
Invoked when a connection is added to a pool.
|
void |
connectionCheckedIn(ConnectionCheckedInEvent event)
Deprecated.
Invoked when a connection is checked in to a pool.
|
void |
connectionCheckedOut(ConnectionCheckedOutEvent event)
Deprecated.
Invoked when a connection is checked out of a pool.
|
void |
connectionPoolClosed(ConnectionPoolClosedEvent event)
Deprecated.
Invoked when a connection pool is closed.
|
void |
connectionPoolOpened(ConnectionPoolOpenedEvent event)
Deprecated.
Invoked when a connection pool is opened.
|
void |
connectionRemoved(ConnectionRemovedEvent event)
Deprecated.
Invoked when a connection is removed from a pool.
|
void |
remove(ConnectionPoolListener connectionPoolListener)
Deprecated.
Removes the given connection pool listener from the list of listeners to invoke on connection pool events.
|
void |
waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent event)
Deprecated.
Invoked when a connection pool's wait queue is entered.
|
void |
waitQueueExited(ConnectionPoolWaitQueueExitedEvent event)
Deprecated.
Invoked when a connection pools wait queue is exited.
|
public ConnectionPoolEventMulticaster()
public void add(ConnectionPoolListener connectionPoolListener)
connectionPoolListener
- the connection pool listenerpublic void remove(ConnectionPoolListener connectionPoolListener)
connectionPoolListener
- the connection pool listenerpublic void connectionPoolOpened(ConnectionPoolOpenedEvent event)
ConnectionPoolListener
connectionPoolOpened
in interface ConnectionPoolListener
event
- the eventpublic void connectionPoolClosed(ConnectionPoolClosedEvent event)
ConnectionPoolListener
connectionPoolClosed
in interface ConnectionPoolListener
event
- the eventpublic void connectionCheckedOut(ConnectionCheckedOutEvent event)
ConnectionPoolListener
connectionCheckedOut
in interface ConnectionPoolListener
event
- the eventpublic void connectionCheckedIn(ConnectionCheckedInEvent event)
ConnectionPoolListener
connectionCheckedIn
in interface ConnectionPoolListener
event
- the eventpublic void waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent event)
ConnectionPoolListener
waitQueueEntered
in interface ConnectionPoolListener
event
- the eventpublic void waitQueueExited(ConnectionPoolWaitQueueExitedEvent event)
ConnectionPoolListener
waitQueueExited
in interface ConnectionPoolListener
event
- the eventpublic void connectionAdded(ConnectionAddedEvent event)
ConnectionPoolListener
connectionAdded
in interface ConnectionPoolListener
event
- the eventpublic void connectionRemoved(ConnectionRemovedEvent event)
ConnectionPoolListener
connectionRemoved
in interface ConnectionPoolListener
event
- the eventCopyright © 2010 - 2020 Adobe. All Rights Reserved