public class LeakTrackingConnectionPool extends DuplexConnectionPool
AbstractLifeCycle.AbstractLifeCycleListenerConnectionPool.Factory, ConnectionPool.MultiplexableDumpable.DumpableContainerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
LeakTrackingConnectionPool(Destination destination,
int maxConnections,
Callback requester) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
acquired(Connection connection) |
void |
close()
Closes this ConnectionPool.
|
protected void |
leaked(LeakDetector.LeakInfo leakInfo) |
protected void |
released(Connection connection) |
getMaxUsageCount, setMaxUsageCountacquire, acquire, activate, deactivate, doStop, dump, getActiveConnectionCount, getActiveConnections, getConnectionCount, getIdleConnectionCount, getIdleConnections, getMaxConnectionCount, getMaxDuration, getMaxMultiplex, getPendingConnectionCount, getPendingCount, idle, isActive, isClosed, isEmpty, isMaximizeConnections, onCreated, preCreateConnections, proceed, release, remove, remove, removed, setMaxDuration, setMaximizeConnections, setMaxMultiplex, sweep, toString, tryCreateaddBean, addBean, addEventListener, addManaged, contains, destroy, doStart, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, namedisDumpablepublic LeakTrackingConnectionPool(Destination destination, int maxConnections, Callback requester)
public void close()
ConnectionPoolclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface ConnectionPoolclose in class AbstractConnectionPoolConnectionPool.isClosed()protected void acquired(Connection connection)
acquired in class AbstractConnectionPoolprotected void released(Connection connection)
released in class AbstractConnectionPoolprotected void leaked(LeakDetector.LeakInfo leakInfo)
Copyright © 1995–2021 Webtide. All rights reserved.