DefaultSerialExecutorService.smali
.class public Lcom/facebook/common/executors/DefaultSerialExecutorService;
.super Lcom/facebook/common/executors/ConstrainedExecutorService;
.source "DefaultSerialExecutorService.java"
# interfaces
.implements Lcom/facebook/common/executors/SerialExecutorService;
# direct methods
.method public constructor <init>(Ljava/util/concurrent/Executor;)V
.registers 5
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"executor"
}
.end annotation
.line 24
new-instance v0, Ljava/util/concurrent/LinkedBlockingQueue;
invoke-direct {v0}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V
const-string v1, "SerialExecutor"
const/4 v2, 0x1
invoke-direct {p0, v1, v2, p1, v0}, Lcom/facebook/common/executors/ConstrainedExecutorService;-><init>(Ljava/lang/String;ILjava/util/concurrent/Executor;Ljava/util/concurrent/BlockingQueue;)V
return-void
.end method
# virtual methods
.method public declared-synchronized execute(Ljava/lang/Runnable;)V
.registers 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"runnable"
}
.end annotation
monitor-enter p0
.line 35
:try_start_1
invoke-super {p0, p1}, Lcom/facebook/common/executors/ConstrainedExecutorService;->execute(Ljava/lang/Runnable;)V
:try_end_4
.catchall {:try_start_1 .. :try_end_4} :catchall_6
.line 36
monitor-exit p0
return-void
:catchall_6
move-exception p1
monitor-exit p0
throw p1
.end method