package okhttp3;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes3.dex */
@kotlin.Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u0001B\u001f\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0002\u0010\bB\u0007\b\u0016¢\u0006\u0002\u0010\tB\u000f\b\u0000\u0012\u0006\u0010\n\u001a\u00020\u000b¢\u0006\u0002\u0010\fJ\u0006\u0010\u000f\u001a\u00020\u0003J\u0006\u0010\u0010\u001a\u00020\u0011J\u0006\u0010\u0012\u001a\u00020\u0003R\u0014\u0010\n\u001a\u00020\u000bX\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u0013"}, d2 = {"Lokhttp3/ConnectionPool;", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "maxIdleConnections", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "keepAliveDuration", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "timeUnit", "Ljava/util/concurrent/TimeUnit;", "(IJLjava/util/concurrent/TimeUnit;)V", "()V", "delegate", "Lokhttp3/internal/connection/RealConnectionPool;", "(Lokhttp3/internal/connection/RealConnectionPool;)V", "getDelegate$okhttp", "()Lokhttp3/internal/connection/RealConnectionPool;", "connectionCount", "evictAll", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "idleConnectionCount", "okhttp"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class ConnectionPool {

    @org.jetbrains.annotations.NotNull
    private final okhttp3.internal.connection.RealConnectionPool delegate;

    public ConnectionPool(@org.jetbrains.annotations.NotNull okhttp3.internal.connection.RealConnectionPool realConnectionPool) {
        kotlin.jvm.internal.Intrinsics.l(realConnectionPool, "delegate");
        this.delegate = realConnectionPool;
    }

    public final int connectionCount() {
        return this.delegate.connectionCount();
    }

    public final void evictAll() {
        this.delegate.evictAll();
    }

    @org.jetbrains.annotations.NotNull
    /* JADX INFO: renamed from: getDelegate$okhttp, reason: from getter */
    public final okhttp3.internal.connection.RealConnectionPool getDelegate() {
        return this.delegate;
    }

    public final int idleConnectionCount() {
        return this.delegate.idleConnectionCount();
    }

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    public ConnectionPool(int i, long j, @org.jetbrains.annotations.NotNull java.util.concurrent.TimeUnit timeUnit) {
        this(new okhttp3.internal.connection.RealConnectionPool(okhttp3.internal.concurrent.TaskRunner.INSTANCE, i, j, timeUnit));
        kotlin.jvm.internal.Intrinsics.l(timeUnit, "timeUnit");
    }

    public ConnectionPool() {
        this(5, 5L, java.util.concurrent.TimeUnit.MINUTES);
    }
}
