- java.lang.Object
-
- org.eclipse.jetty.client.AbstractConnectionPool
-
- org.eclipse.jetty.client.DuplexConnectionPool
-
- org.eclipse.jetty.client.LeakTrackingConnectionPool
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,ConnectionPool,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.thread.Sweeper.Sweepable
public class LeakTrackingConnectionPool extends DuplexConnectionPool
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.ConnectionPool
ConnectionPool.Factory, ConnectionPool.Multiplexable
-
-
Constructor Summary
Constructors Constructor Description LeakTrackingConnectionPool(Destination destination, int maxConnections, org.eclipse.jetty.util.Callback requester)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidacquired(Connection connection)voidclose()protected voidleaked(org.eclipse.jetty.util.LeakDetector.LeakInfo leakInfo)protected voidreleased(Connection connection)-
Methods inherited from class org.eclipse.jetty.client.DuplexConnectionPool
activate, deactivate, dump, dump, getActiveConnectionCount, getActiveConnections, getIdleConnectionCount, getIdleConnections, isActive, lock, onCreated, release, remove, remove, sweep, toString, unlock
-
Methods inherited from class org.eclipse.jetty.client.AbstractConnectionPool
accept, acquire, active, close, dump, getConnectionCount, getMaxConnectionCount, getPendingConnectionCount, idle, isClosed, isEmpty, proceed, removed, tryCreate
-
-
-
-
Constructor Detail
-
LeakTrackingConnectionPool
public LeakTrackingConnectionPool(Destination destination, int maxConnections, org.eclipse.jetty.util.Callback requester)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceConnectionPool- Overrides:
closein classDuplexConnectionPool
-
acquired
protected void acquired(Connection connection)
- Overrides:
acquiredin classAbstractConnectionPool
-
released
protected void released(Connection connection)
- Overrides:
releasedin classAbstractConnectionPool
-
leaked
protected void leaked(org.eclipse.jetty.util.LeakDetector.LeakInfo leakInfo)
-
-