a.smali
.class public final Lcom/bumptech/glide/load/engine/executor/a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/util/concurrent/ExecutorService;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/load/engine/executor/a$b;,
Lcom/bumptech/glide/load/engine/executor/a$a;,
Lcom/bumptech/glide/load/engine/executor/a$c;
}
.end annotation
# static fields
.field public static final c:J
.field public static volatile d:I
# instance fields
.field public final a:Ljava/util/concurrent/ExecutorService;
.field public b:Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.registers 3
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
const-wide/16 v1, 0xa
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
move-result-wide v0
sput-wide v0, Lcom/bumptech/glide/load/engine/executor/a;->c:J
return-void
.end method
.method public constructor <init>(Ljava/util/concurrent/ExecutorService;)V
.registers 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
return-void
.end method
.method public constructor <init>(Ljava/util/concurrent/ExecutorService;Ljava/lang/String;)V
.registers 3
.line 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 4
iput-object p1, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
.line 5
iput-object p2, p0, Lcom/bumptech/glide/load/engine/executor/a;->b:Ljava/lang/String;
return-void
.end method
.method public static a()I
.registers 2
.line 1
sget v0, Lcom/bumptech/glide/load/engine/executor/a;->d:I
if-nez v0, :cond_20
.line 2
sget v0, Lcom/bumptech/glide/h;->b:I
.line 3
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Runtime;->availableProcessors()I
move-result v1
.line 4
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
move-result v0
sput v0, Lcom/bumptech/glide/load/engine/executor/a;->d:I
.line 5
sget v0, Lcom/bumptech/glide/h;->b:I
.line 6
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Runtime;->availableProcessors()I
.line 7
invoke-static {}, Lcom/bumptech/glide/h;->a()V
.line 8
:cond_20
sget v0, Lcom/bumptech/glide/load/engine/executor/a;->d:I
return v0
.end method
.method public static b()Lcom/bumptech/glide/load/engine/executor/a;
.registers 11
.line 1
invoke-static {}, Lcom/bumptech/glide/load/engine/executor/a;->a()I
move-result v0
const/4 v1, 0x1
const/4 v2, 0x4
if-lt v0, v2, :cond_b
const/4 v0, 0x2
const/4 v3, 0x2
goto :goto_c
:cond_b
const/4 v3, 0x1
.line 2
:goto_c
new-instance v0, Lcom/bumptech/glide/load/engine/executor/a$a;
invoke-direct {v0}, Lcom/bumptech/glide/load/engine/executor/a$a;-><init>()V
.line 3
sget-object v2, Lcom/bumptech/glide/load/engine/executor/a$c;->b:Lcom/bumptech/glide/load/engine/executor/a$c$a;
const-string v10, "animation"
.line 4
invoke-static {v10}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_36
const-wide/16 v4, 0x0
.line 5
sget-object v6, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v7, Ljava/util/concurrent/PriorityBlockingQueue;
invoke-direct {v7}, Ljava/util/concurrent/PriorityBlockingQueue;-><init>()V
new-instance v8, Lcom/bumptech/glide/load/engine/executor/a$b;
invoke-direct {v8, v0, v10, v2, v1}, Lcom/bumptech/glide/load/engine/executor/a$b;-><init>(Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;Lcom/bumptech/glide/load/engine/executor/a$c;Z)V
const-string v9, "com/bumptech/glide/load/engine/executor/GlideExecutor$Builder"
move v2, v3
invoke-static/range {v2 .. v9}, Lcom/garena/android/appkit/logging/a;->R(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;)Ljava/util/concurrent/ThreadPoolExecutor;
move-result-object v0
.line 6
new-instance v1, Lcom/bumptech/glide/load/engine/executor/a;
invoke-direct {v1, v0, v10}, Lcom/bumptech/glide/load/engine/executor/a;-><init>(Ljava/util/concurrent/ExecutorService;Ljava/lang/String;)V
return-object v1
.line 7
:cond_36
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Name must be non-null and non-empty, but given: animation"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static c()Lcom/bumptech/glide/load/engine/executor/a;
.registers 12
.line 1
new-instance v0, Lcom/bumptech/glide/load/engine/executor/a$a;
invoke-direct {v0}, Lcom/bumptech/glide/load/engine/executor/a$a;-><init>()V
.line 2
sget-object v1, Lcom/bumptech/glide/load/engine/executor/a$c;->b:Lcom/bumptech/glide/load/engine/executor/a$c$a;
const-string v2, "disk-cache"
.line 3
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-nez v3, :cond_2c
const-wide/16 v6, 0x0
.line 4
sget-object v8, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v9, Ljava/util/concurrent/PriorityBlockingQueue;
invoke-direct {v9}, Ljava/util/concurrent/PriorityBlockingQueue;-><init>()V
new-instance v10, Lcom/bumptech/glide/load/engine/executor/a$b;
const/4 v3, 0x1
invoke-direct {v10, v0, v2, v1, v3}, Lcom/bumptech/glide/load/engine/executor/a$b;-><init>(Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;Lcom/bumptech/glide/load/engine/executor/a$c;Z)V
const/4 v5, 0x1
const-string v11, "com/bumptech/glide/load/engine/executor/GlideExecutor$Builder"
move v4, v5
invoke-static/range {v4 .. v11}, Lcom/garena/android/appkit/logging/a;->R(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;)Ljava/util/concurrent/ThreadPoolExecutor;
move-result-object v0
.line 5
new-instance v1, Lcom/bumptech/glide/load/engine/executor/a;
invoke-direct {v1, v0, v2}, Lcom/bumptech/glide/load/engine/executor/a;-><init>(Ljava/util/concurrent/ExecutorService;Ljava/lang/String;)V
return-object v1
.line 6
:cond_2c
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Name must be non-null and non-empty, but given: disk-cache"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static d(ILjava/lang/String;)Lcom/bumptech/glide/load/engine/executor/a;
.registers 13
.annotation runtime Ljava/lang/Deprecated;
.end annotation
sget-object v0, Lcom/bumptech/glide/load/engine/executor/a$c;->b:Lcom/bumptech/glide/load/engine/executor/a$c$a;
.line 1
new-instance v1, Lcom/bumptech/glide/load/engine/executor/a$a;
invoke-direct {v1}, Lcom/bumptech/glide/load/engine/executor/a$a;-><init>()V
.line 2
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-nez v2, :cond_2a
const-wide/16 v5, 0x0
.line 3
sget-object v7, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v8, Ljava/util/concurrent/PriorityBlockingQueue;
invoke-direct {v8}, Ljava/util/concurrent/PriorityBlockingQueue;-><init>()V
new-instance v9, Lcom/bumptech/glide/load/engine/executor/a$b;
const/4 v2, 0x1
invoke-direct {v9, v1, p1, v0, v2}, Lcom/bumptech/glide/load/engine/executor/a$b;-><init>(Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;Lcom/bumptech/glide/load/engine/executor/a$c;Z)V
const-string v10, "com/bumptech/glide/load/engine/executor/GlideExecutor$Builder"
move v3, p0
move v4, p0
invoke-static/range {v3 .. v10}, Lcom/garena/android/appkit/logging/a;->R(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;)Ljava/util/concurrent/ThreadPoolExecutor;
move-result-object p0
.line 4
new-instance v0, Lcom/bumptech/glide/load/engine/executor/a;
invoke-direct {v0, p0, p1}, Lcom/bumptech/glide/load/engine/executor/a;-><init>(Ljava/util/concurrent/ExecutorService;Ljava/lang/String;)V
return-object v0
.line 5
:cond_2a
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Name must be non-null and non-empty, but given: "
.line 6
invoke-static {v0, p1}, Landroidx/appcompat/e;->g(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
.line 7
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static e()Lcom/bumptech/glide/load/engine/executor/a;
.registers 11
.line 1
new-instance v0, Lcom/bumptech/glide/load/engine/executor/a$a;
invoke-direct {v0}, Lcom/bumptech/glide/load/engine/executor/a$a;-><init>()V
.line 2
sget-object v1, Lcom/bumptech/glide/load/engine/executor/a$c;->b:Lcom/bumptech/glide/load/engine/executor/a$c$a;
.line 3
invoke-static {}, Lcom/bumptech/glide/load/engine/executor/a;->a()I
move-result v3
const-string v10, "source"
.line 4
invoke-static {v10}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-nez v2, :cond_2f
const-wide/16 v4, 0x0
.line 5
sget-object v6, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v7, Ljava/util/concurrent/PriorityBlockingQueue;
invoke-direct {v7}, Ljava/util/concurrent/PriorityBlockingQueue;-><init>()V
new-instance v8, Lcom/bumptech/glide/load/engine/executor/a$b;
const/4 v2, 0x0
invoke-direct {v8, v0, v10, v1, v2}, Lcom/bumptech/glide/load/engine/executor/a$b;-><init>(Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;Lcom/bumptech/glide/load/engine/executor/a$c;Z)V
const-string v9, "com/bumptech/glide/load/engine/executor/GlideExecutor$Builder"
move v2, v3
invoke-static/range {v2 .. v9}, Lcom/garena/android/appkit/logging/a;->R(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;)Ljava/util/concurrent/ThreadPoolExecutor;
move-result-object v0
.line 6
new-instance v1, Lcom/bumptech/glide/load/engine/executor/a;
invoke-direct {v1, v0, v10}, Lcom/bumptech/glide/load/engine/executor/a;-><init>(Ljava/util/concurrent/ExecutorService;Ljava/lang/String;)V
return-object v1
.line 7
:cond_2f
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Name must be non-null and non-empty, but given: source"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static f(ILjava/lang/String;)Lcom/bumptech/glide/load/engine/executor/a;
.registers 13
.annotation runtime Ljava/lang/Deprecated;
.end annotation
sget-object v0, Lcom/bumptech/glide/load/engine/executor/a$c;->b:Lcom/bumptech/glide/load/engine/executor/a$c$a;
.line 1
new-instance v1, Lcom/bumptech/glide/load/engine/executor/a$a;
invoke-direct {v1}, Lcom/bumptech/glide/load/engine/executor/a$a;-><init>()V
.line 2
invoke-static {}, Lcom/bumptech/glide/load/engine/executor/a;->a()I
.line 3
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-nez v2, :cond_2d
const-wide/16 v5, 0x0
.line 4
sget-object v7, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v8, Ljava/util/concurrent/PriorityBlockingQueue;
invoke-direct {v8}, Ljava/util/concurrent/PriorityBlockingQueue;-><init>()V
new-instance v9, Lcom/bumptech/glide/load/engine/executor/a$b;
const/4 v2, 0x0
invoke-direct {v9, v1, p1, v0, v2}, Lcom/bumptech/glide/load/engine/executor/a$b;-><init>(Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;Lcom/bumptech/glide/load/engine/executor/a$c;Z)V
const-string v10, "com/bumptech/glide/load/engine/executor/GlideExecutor$Builder"
move v3, p0
move v4, p0
invoke-static/range {v3 .. v10}, Lcom/garena/android/appkit/logging/a;->R(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;)Ljava/util/concurrent/ThreadPoolExecutor;
move-result-object p0
.line 5
new-instance v0, Lcom/bumptech/glide/load/engine/executor/a;
invoke-direct {v0, p0, p1}, Lcom/bumptech/glide/load/engine/executor/a;-><init>(Ljava/util/concurrent/ExecutorService;Ljava/lang/String;)V
return-object v0
.line 6
:cond_2d
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Name must be non-null and non-empty, but given: "
.line 7
invoke-static {v0, p1}, Landroidx/appcompat/e;->g(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
.line 8
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
# virtual methods
.method public final awaitTermination(JLjava/util/concurrent/TimeUnit;)Z
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0, p1, p2, p3}, Ljava/util/concurrent/ExecutorService;->awaitTermination(JLjava/util/concurrent/TimeUnit;)Z
move-result p1
return p1
.end method
.method public final execute(Ljava/lang/Runnable;)V
.registers 5
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
.line 2
invoke-static {}, Lcom/shopee/app/asm/anr/threadpool/c;->b()Z
move-result v1
if-eqz v1, :cond_3c
invoke-static {}, Lcom/shopee/app/asm/anr/threadpool/c;->a()Z
move-result v1
if-eqz v1, :cond_3c
.line 3
:try_start_e
sget-object v1, Lcom/shopee/app/asm/anr/threadpool/c;->a:Landroid/os/HandlerThread;
.line 4
sget-object v1, Lcom/shopee/app/asm/anr/threadpool/c;->b:Landroid/os/Handler;
new-instance v2, Lcom/shopee/app/asm/anr/threadpool/a$b;
invoke-direct {v2, v0, p1}, Lcom/shopee/app/asm/anr/threadpool/a$b;-><init>(Ljava/util/concurrent/Executor;Ljava/lang/Runnable;)V
invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:try_end_1a
.catchall {:try_start_e .. :try_end_1a} :catchall_1b
goto :goto_56
:catchall_1b
move-exception v1
.line 5
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
sget-object v1, Lcom/shopee/app/asm/anr/threadpool/c;->a:Landroid/os/HandlerThread;
.line 6
:try_start_21
invoke-static {p1, v0}, Lcom/shopee/app/asm/anr/threadpool/a;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2d
.line 7
sget-object v0, Lcom/shopee/app/asm/fix/threadpool/global/i;->e:Lcom/shopee/app/asm/fix/threadpool/global/j;
.line 8
invoke-virtual {v0, p1}, Lcom/shopee/app/asm/anr/threadpool/b;->execute(Ljava/lang/Runnable;)V
goto :goto_56
.line 9
:cond_2d
invoke-interface {v0, p1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
:try_end_30
.catchall {:try_start_21 .. :try_end_30} :catchall_31
goto :goto_56
:catchall_31
move-exception p1
.line 10
sget-object v0, Lcom/shopee/app/asm/anr/threadpool/c;->a:Landroid/os/HandlerThread;
.line 11
invoke-static {}, Lcom/shopee/app/apm/c;->d()Lcom/shopee/app/apm/nonfatal/a;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/shopee/app/apm/nonfatal/a;->c(Ljava/lang/Throwable;)V
goto :goto_56
.line 12
:cond_3c
:try_start_3c
invoke-static {p1, v0}, Lcom/shopee/app/asm/anr/threadpool/a;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_48
.line 13
sget-object v0, Lcom/shopee/app/asm/fix/threadpool/global/i;->e:Lcom/shopee/app/asm/fix/threadpool/global/j;
.line 14
invoke-virtual {v0, p1}, Lcom/shopee/app/asm/anr/threadpool/b;->execute(Ljava/lang/Runnable;)V
goto :goto_56
.line 15
:cond_48
invoke-interface {v0, p1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
:try_end_4b
.catchall {:try_start_3c .. :try_end_4b} :catchall_4c
goto :goto_56
:catchall_4c
move-exception p1
.line 16
sget-object v0, Lcom/shopee/app/asm/anr/threadpool/c;->a:Landroid/os/HandlerThread;
.line 17
invoke-static {}, Lcom/shopee/app/apm/c;->d()Lcom/shopee/app/apm/nonfatal/a;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/shopee/app/apm/nonfatal/a;->c(Ljava/lang/Throwable;)V
:goto_56
return-void
.end method
.method public final invokeAll(Ljava/util/Collection;)Ljava/util/List;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+",
"Ljava/util/concurrent/Callable<",
"TT;>;>;)",
"Ljava/util/List<",
"Ljava/util/concurrent/Future<",
"TT;>;>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0, p1}, Ljava/util/concurrent/ExecutorService;->invokeAll(Ljava/util/Collection;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method public final invokeAll(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+",
"Ljava/util/concurrent/Callable<",
"TT;>;>;J",
"Ljava/util/concurrent/TimeUnit;",
")",
"Ljava/util/List<",
"Ljava/util/concurrent/Future<",
"TT;>;>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
.line 2
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0, p1, p2, p3, p4}, Ljava/util/concurrent/ExecutorService;->invokeAll(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method public final invokeAny(Ljava/util/Collection;)Ljava/lang/Object;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+",
"Ljava/util/concurrent/Callable<",
"TT;>;>;)TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;
}
.end annotation
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0, p1}, Ljava/util/concurrent/ExecutorService;->invokeAny(Ljava/util/Collection;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public final invokeAny(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+",
"Ljava/util/concurrent/Callable<",
"TT;>;>;J",
"Ljava/util/concurrent/TimeUnit;",
")TT;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;,
Ljava/util/concurrent/TimeoutException;
}
.end annotation
.line 2
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0, p1, p2, p3, p4}, Ljava/util/concurrent/ExecutorService;->invokeAny(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method public final isShutdown()Z
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0}, Ljava/util/concurrent/ExecutorService;->isShutdown()Z
move-result v0
return v0
.end method
.method public final isTerminated()Z
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0}, Ljava/util/concurrent/ExecutorService;->isTerminated()Z
move-result v0
return v0
.end method
.method public final shutdown()V
.registers 2
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0}, Ljava/util/concurrent/ExecutorService;->shutdown()V
return-void
.end method
.method public final shutdownNow()Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/Runnable;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0}, Ljava/util/concurrent/ExecutorService;->shutdownNow()Ljava/util/List;
move-result-object v0
return-object v0
.end method
.method public final submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Runnable;",
")",
"Ljava/util/concurrent/Future<",
"*>;"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0, p1}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
move-result-object p1
return-object p1
.end method
.method public final submit(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Runnable;",
"TT;)",
"Ljava/util/concurrent/Future<",
"TT;>;"
}
.end annotation
.line 2
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0, p1, p2}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;
move-result-object p1
return-object p1
.end method
.method public final submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/concurrent/Callable<",
"TT;>;)",
"Ljava/util/concurrent/Future<",
"TT;>;"
}
.end annotation
.line 3
iget-object v0, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-interface {v0, p1}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
move-result-object p1
return-object p1
.end method
.method public final toString()Ljava/lang/String;
.registers 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lcom/bumptech/glide/load/engine/executor/a;->a:Ljava/util/concurrent/ExecutorService;
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " name:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/bumptech/glide/load/engine/executor/a;->b:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method