Rabbit-R1/switch port/smali/smali_classes3/okhttp3/ConnectionPool.smali
2024-05-21 17:08:36 -04:00

156 lines
4.6 KiB
Smali

.class public final Lokhttp3/ConnectionPool;
.super Ljava/lang/Object;
.source "ConnectionPool.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0002\u0008\u0002\u0018\u00002\u00020\u0001B\u001f\u0008\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0002\u0010\u0008B\u0007\u0008\u0016\u00a2\u0006\u0002\u0010\tB\u000f\u0008\u0000\u0012\u0006\u0010\n\u001a\u00020\u000b\u00a2\u0006\u0002\u0010\u000cJ\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\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\r\u0010\u000e\u00a8\u0006\u0013"
}
d2 = {
"Lokhttp3/ConnectionPool;",
"",
"maxIdleConnections",
"",
"keepAliveDuration",
"",
"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",
"",
"idleConnectionCount",
"okhttp"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private final delegate:Lokhttp3/internal/connection/RealConnectionPool;
# direct methods
.method public constructor <init>()V
.locals 4
const-wide/16 v0, 0x5
.line 47
sget-object v2, Ljava/util/concurrent/TimeUnit;->MINUTES:Ljava/util/concurrent/TimeUnit;
const/4 v3, 0x5
invoke-direct {p0, v3, v0, v1, v2}, Lokhttp3/ConnectionPool;-><init>(IJLjava/util/concurrent/TimeUnit;)V
return-void
.end method
.method public constructor <init>(IJLjava/util/concurrent/TimeUnit;)V
.locals 7
const-string v0, "timeUnit"
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 40
new-instance v0, Lokhttp3/internal/connection/RealConnectionPool;
.line 41
sget-object v2, Lokhttp3/internal/concurrent/TaskRunner;->INSTANCE:Lokhttp3/internal/concurrent/TaskRunner;
move-object v1, v0
move v3, p1
move-wide v4, p2
move-object v6, p4
.line 40
invoke-direct/range {v1 .. v6}, Lokhttp3/internal/connection/RealConnectionPool;-><init>(Lokhttp3/internal/concurrent/TaskRunner;IJLjava/util/concurrent/TimeUnit;)V
invoke-direct {p0, v0}, Lokhttp3/ConnectionPool;-><init>(Lokhttp3/internal/connection/RealConnectionPool;)V
return-void
.end method
.method public constructor <init>(Lokhttp3/internal/connection/RealConnectionPool;)V
.locals 1
const-string v0, "delegate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 33
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lokhttp3/ConnectionPool;->delegate:Lokhttp3/internal/connection/RealConnectionPool;
return-void
.end method
# virtual methods
.method public final connectionCount()I
.locals 0
iget-object p0, p0, Lokhttp3/ConnectionPool;->delegate:Lokhttp3/internal/connection/RealConnectionPool;
.line 53
invoke-virtual {p0}, Lokhttp3/internal/connection/RealConnectionPool;->connectionCount()I
move-result p0
return p0
.end method
.method public final evictAll()V
.locals 0
iget-object p0, p0, Lokhttp3/ConnectionPool;->delegate:Lokhttp3/internal/connection/RealConnectionPool;
.line 57
invoke-virtual {p0}, Lokhttp3/internal/connection/RealConnectionPool;->evictAll()V
return-void
.end method
.method public final getDelegate$okhttp()Lokhttp3/internal/connection/RealConnectionPool;
.locals 0
iget-object p0, p0, Lokhttp3/ConnectionPool;->delegate:Lokhttp3/internal/connection/RealConnectionPool;
return-object p0
.end method
.method public final idleConnectionCount()I
.locals 0
iget-object p0, p0, Lokhttp3/ConnectionPool;->delegate:Lokhttp3/internal/connection/RealConnectionPool;
.line 50
invoke-virtual {p0}, Lokhttp3/internal/connection/RealConnectionPool;->idleConnectionCount()I
move-result p0
return p0
.end method