org.apache.http.pool.ConnPoolControl.java Source code

Java tutorial

Introduction

Here is the source code for org.apache.http.pool.ConnPoolControl.java

Source

package org.apache.http.pool;

public interface ConnPoolControl<T> {
    int getDefaultMaxPerRoute();

    int getMaxPerRoute(T t);

    int getMaxTotal();

    PoolStats getStats(T t);

    PoolStats getTotalStats();

    void setDefaultMaxPerRoute(int i);

    void setMaxPerRoute(T t, int i);

    void setMaxTotal(int i);
}