Class LeakTrackingConnectionPool
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.client.AbstractConnectionPool
org.eclipse.jetty.client.DuplexConnectionPool
org.eclipse.jetty.client.LeakTrackingConnectionPool
- All Implemented Interfaces:
Closeable, AutoCloseable, ConnectionPool, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle, Sweeper.Sweepable
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface ConnectionPool
ConnectionPool.Factory, ConnectionPool.MultiplexableNested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LeakDetector<Connection> private static final Logger -
Constructor Summary
ConstructorsConstructorDescriptionLeakTrackingConnectionPool(Destination destination, int maxConnections, Callback requester) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidacquired(Connection connection) voidclose()Closes this ConnectionPool.protected voidleaked(LeakDetector.LeakInfo leakInfo) protected voidreleased(Connection connection) Methods inherited from class DuplexConnectionPool
getMaxUsageCount, setMaxUsageCountMethods inherited from class AbstractConnectionPool
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, tryCreateMethods inherited from class ContainerLifeCycle
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, updateBeansMethods inherited from class AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Dumpable.DumpableContainer
isDumpable
-
Field Details
-
LOG
-
leakDetector
-
-
Constructor Details
-
LeakTrackingConnectionPool
-
-
Method Details
-
close
public void close()Description copied from interface:ConnectionPoolCloses this ConnectionPool.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceConnectionPool- Overrides:
closein classAbstractConnectionPool- See Also:
-
acquired
- Overrides:
acquiredin classAbstractConnectionPool
-
released
- Overrides:
releasedin classAbstractConnectionPool
-
leaked
-