bs.smali
.class public Lcom/tendcloud/tenddata/bs;
.super Ljava/lang/Object;
.source "td"
# static fields
.field private static volatile a:Lcom/tendcloud/tenddata/bs;
# direct methods
.method static constructor <clinit>()V
.registers 2
.line 1
:try_start_0
invoke-static {}, Lcom/tendcloud/tenddata/ag;->a()Lcom/tendcloud/tenddata/ag;
move-result-object v0
invoke-static {}, Lcom/tendcloud/tenddata/bs;->a()Lcom/tendcloud/tenddata/bs;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/tendcloud/tenddata/ag;->register(Ljava/lang/Object;)V
:try_end_b
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_b} :catch_b
:catch_b
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a()Lcom/tendcloud/tenddata/bs;
.registers 2
.line 1
sget-object v0, Lcom/tendcloud/tenddata/bs;->a:Lcom/tendcloud/tenddata/bs;
if-nez v0, :cond_17
.line 2
const-class v0, Lcom/tendcloud/tenddata/bs;
monitor-enter v0
.line 3
:try_start_7
sget-object v1, Lcom/tendcloud/tenddata/bs;->a:Lcom/tendcloud/tenddata/bs;
if-nez v1, :cond_12
.line 4
new-instance v1, Lcom/tendcloud/tenddata/bs;
invoke-direct {v1}, Lcom/tendcloud/tenddata/bs;-><init>()V
sput-object v1, Lcom/tendcloud/tenddata/bs;->a:Lcom/tendcloud/tenddata/bs;
.line 5
:cond_12
monitor-exit v0
goto :goto_17
:catchall_14
move-exception v1
monitor-exit v0
:try_end_16
.catchall {:try_start_7 .. :try_end_16} :catchall_14
throw v1
.line 6
:cond_17
:goto_17
sget-object v0, Lcom/tendcloud/tenddata/bs;->a:Lcom/tendcloud/tenddata/bs;
return-object v0
.end method
# virtual methods
.method public b()V
.registers 3
.line 1
:try_start_0
sget-object v0, Lcom/tendcloud/tenddata/ad;->a:Ljava/util/concurrent/ThreadPoolExecutor;
new-instance v1, Lcom/tendcloud/tenddata/bs$1;
invoke-direct {v1, p0}, Lcom/tendcloud/tenddata/bs$1;-><init>(Lcom/tendcloud/tenddata/bs;)V
invoke-virtual {v0, v1}, Ljava/util/concurrent/ThreadPoolExecutor;->execute(Ljava/lang/Runnable;)V
:try_end_a
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_a} :catch_b
goto :goto_f
:catch_b
move-exception v0
.line 2
invoke-static {v0}, Lcom/tendcloud/tenddata/bq;->postSDKError(Ljava/lang/Throwable;)V
:goto_f
return-void
.end method