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, getIdleConnections, isActive, isEmpty, isIdle, release, remove, toStringpublic LeakTrackingConnectionPool(Destination destination, int maxConnections, Promise<Connection> connectionPromise)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class ConnectionPoolprotected void acquired(Connection connection)
acquired in class ConnectionPoolprotected void released(Connection connection)
released in class ConnectionPoolprotected void leaked(LeakDetector.LeakInfo leakInfo)
Copyright © 1995-2015 Webtide. All Rights Reserved.