All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy