be.smali
.class public Lcom/tendcloud/tenddata/be;
.super Ljava/lang/Object;
.source "td"
# static fields
.field private static volatile a:Lcom/tendcloud/tenddata/be;
# 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/be;->a()Lcom/tendcloud/tenddata/be;
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_c
goto :goto_10
:catch_c
move-exception v0
.line 2
invoke-static {v0}, Lcom/tendcloud/tenddata/bq;->postSDKError(Ljava/lang/Throwable;)V
:goto_10
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/be;
.registers 2
.line 1
sget-object v0, Lcom/tendcloud/tenddata/be;->a:Lcom/tendcloud/tenddata/be;
if-nez v0, :cond_17
.line 2
const-class v0, Lcom/tendcloud/tenddata/be;
monitor-enter v0
.line 3
:try_start_7
sget-object v1, Lcom/tendcloud/tenddata/be;->a:Lcom/tendcloud/tenddata/be;
if-nez v1, :cond_12
.line 4
new-instance v1, Lcom/tendcloud/tenddata/be;
invoke-direct {v1}, Lcom/tendcloud/tenddata/be;-><init>()V
sput-object v1, Lcom/tendcloud/tenddata/be;->a:Lcom/tendcloud/tenddata/be;
.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/be;->a:Lcom/tendcloud/tenddata/be;
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/be$1;
invoke-direct {v1, p0}, Lcom/tendcloud/tenddata/be$1;-><init>(Lcom/tendcloud/tenddata/be;)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
.method public final onTDEBEventCommonEnvironment(Lcom/tendcloud/tenddata/bw;)V
.registers 3
.line 1
:try_start_0
iget p1, p1, Lcom/tendcloud/tenddata/bw;->a:I
const/4 v0, 0x3
if-eq p1, v0, :cond_6
return-void
.line 2
:cond_6
invoke-virtual {p0}, Lcom/tendcloud/tenddata/be;->b()V
:try_end_9
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_9} :catch_a
goto :goto_e
:catch_a
move-exception p1
.line 3
invoke-static {p1}, Lcom/tendcloud/tenddata/bq;->postSDKError(Ljava/lang/Throwable;)V
:goto_e
return-void
.end method