public class LeakTrackingConnectionPool extends ConnectionPool
LOG
Constructor and Description |
---|
LeakTrackingConnectionPool(Destination destination,
int maxConnections,
Promise<Connection> connectionPromise) |
Modifier and Type | Method and Description |
---|---|
protected void |
acquired(Connection connection) |
void |
close() |
protected void |
leaked(LeakDetector.LeakInfo leakInfo) |
protected void |
released(Connection connection) |
acquire, dump, dump, getActiveConnections, getConnectionCount, getIdleConnections, idle, idleCreated, isActive, isEmpty, isIdle, release, remove, sweep, toString
public LeakTrackingConnectionPool(Destination destination, int maxConnections, Promise<Connection> connectionPromise)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class ConnectionPool
protected void acquired(Connection connection)
acquired
in class ConnectionPool
protected void released(Connection connection)
released
in class ConnectionPool
protected void leaked(LeakDetector.LeakInfo leakInfo)
Copyright © 1995-2017 Webtide. All Rights Reserved.