org.eclipse.jetty.client.ConnectionPoolAccessor Maven / Gradle / Ivy
The newest version!
package org.eclipse.jetty.client;
import org.eclipse.jetty.client.api.Connection;
import java.util.Collection;
public final class ConnectionPoolAccessor
{
private ConnectionPoolAccessor() {}
public static Collection getActiveConnections(AbstractConnectionPool pool)
{
return pool.getActiveConnections();
}
public static Collection getIdleConnections(AbstractConnectionPool pool)
{
return pool.getIdleConnections();
}
}