public class LeakTrackingConnectionPool extends DuplexConnectionPool
AbstractLifeCycle.AbstractLifeCycleListener
ConnectionPool.Factory, ConnectionPool.Multiplexable
Dumpable.DumpableContainer
Container.InheritedListener, Container.Listener
LifeCycle.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, setMaxUsageCount
acquire, 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, tryCreate
addBean, 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, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, named
isDumpable
public LeakTrackingConnectionPool(Destination destination, int maxConnections, Callback requester)
public void close()
ConnectionPool
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface ConnectionPool
close
in class AbstractConnectionPool
ConnectionPool.isClosed()
protected void acquired(Connection connection)
acquired
in class AbstractConnectionPool
protected void released(Connection connection)
released
in class AbstractConnectionPool
protected void leaked(LeakDetector.LeakInfo leakInfo)
Copyright © 1995–2021 Webtide. All rights reserved.