f.smali
.class public final Lcom/fulishe/fs/newvideo/cache/f;
.super Ljava/lang/Object;
.source ""
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/fulishe/fs/newvideo/cache/f$a;
}
.end annotation
# instance fields
.field public final a:Ljava/util/concurrent/atomic/AtomicInteger;
.field public b:Ljava/lang/String;
.field public volatile c:Lcom/fulishe/fs/newvideo/cache/h;
.field public final d:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List",
"<",
"Lcom/fulishe/fs/newvideo/cache/d;",
">;"
}
.end annotation
.end field
.field public final e:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Lcom/fulishe/fs/newvideo/cache/p$a;",
">;"
}
.end annotation
.end field
.field public final f:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Lcom/fulishe/fs/newvideo/cache/r;",
">;"
}
.end annotation
.end field
.field public final g:Lcom/fulishe/fs/newvideo/cache/d;
.field public final h:Lcom/fulishe/fs/newvideo/cache/e;
# direct methods
.method public constructor <init>(Ljava/lang/String;Lcom/fulishe/fs/newvideo/cache/e;)V
.registers 6
const/4 v2, 0x0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
invoke-direct {v0, v2}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
new-instance v0, Ljava/util/concurrent/CopyOnWriteArrayList;
invoke-direct {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>()V
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->d:Ljava/util/List;
new-instance v0, Ljava/util/concurrent/ConcurrentHashMap;
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->e:Ljava/util/Map;
new-instance v0, Ljava/util/concurrent/ConcurrentHashMap;
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->f:Ljava/util/Map;
invoke-static {p1}, Lcom/fulishe/fs/newvideo/cache/o;->a(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "before substring url="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "HttpProxyCacheServerClients"
invoke-static {v1, v0}, Lcom/fulishe/shadow/base/p;->a(Ljava/lang/String;Ljava/lang/String;)V
const-string v0, "hasPrefix=false"
invoke-virtual {p1, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_82
const-string v0, "?size="
invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I
move-result v0
invoke-virtual {p1, v2, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
:cond_54
:goto_54
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "after substring url="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "HttpProxyCacheServerClients"
invoke-static {v1, v0}, Lcom/fulishe/shadow/base/p;->a(Ljava/lang/String;Ljava/lang/String;)V
invoke-static {p2}, Lcom/fulishe/fs/newvideo/cache/o;->a(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/fulishe/fs/newvideo/cache/e;
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
new-instance v0, Lcom/fulishe/fs/newvideo/cache/f$a;
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->d:Ljava/util/List;
invoke-direct {v0, v1, v2}, Lcom/fulishe/fs/newvideo/cache/f$a;-><init>(Ljava/lang/String;Ljava/util/List;)V
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->g:Lcom/fulishe/fs/newvideo/cache/d;
return-void
:cond_82
const-string v0, "hasPrefix=true"
invoke-virtual {p1, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_54
const-string v0, "&size="
invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I
move-result v0
invoke-virtual {p1, v2, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
goto :goto_54
.end method
.method private declared-synchronized a(Z)V
.registers 3
monitor-enter p0
:try_start_1
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
if-nez v0, :cond_d
invoke-direct {p0, p1}, Lcom/fulishe/fs/newvideo/cache/f;->b(Z)Lcom/fulishe/fs/newvideo/cache/h;
move-result-object v0
:goto_9
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
:try_end_b
.catchall {:try_start_1 .. :try_end_b} :catchall_10
monitor-exit p0
return-void
:cond_d
:try_start_d
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
:try_end_f
.catchall {:try_start_d .. :try_end_f} :catchall_10
goto :goto_9
:catchall_10
move-exception v0
monitor-exit p0
throw v0
.end method
.method private b(Z)Lcom/fulishe/fs/newvideo/cache/h;
.registers 6
new-instance v0, Lcom/fulishe/fs/newvideo/cache/j;
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v3, v2, Lcom/fulishe/fs/newvideo/cache/e;->d:Lcom/fulishe/fs/newvideo/cache/u/c;
iget-object v2, v2, Lcom/fulishe/fs/newvideo/cache/e;->e:Lcom/fulishe/fs/newvideo/cache/b/b;
invoke-direct {v0, v1, v3, v2}, Lcom/fulishe/fs/newvideo/cache/j;-><init>(Ljava/lang/String;Lcom/fulishe/fs/newvideo/cache/u/c;Lcom/fulishe/fs/newvideo/cache/b/b;)V
iput-boolean p1, v0, Lcom/fulishe/fs/newvideo/cache/j;->b:Z
new-instance v1, Lcom/fulishe/fs/newvideo/cache/a/b;
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v3, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-virtual {v2, v3}, Lcom/fulishe/fs/newvideo/cache/e;->a(Ljava/lang/String;)Ljava/io/File;
move-result-object v2
iget-object v3, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v3, v3, Lcom/fulishe/fs/newvideo/cache/e;->c:Lcom/fulishe/fs/newvideo/cache/a/a;
invoke-direct {v1, v2, v3}, Lcom/fulishe/fs/newvideo/cache/a/b;-><init>(Ljava/io/File;Lcom/fulishe/fs/newvideo/cache/a/a;)V
new-instance v2, Lcom/fulishe/fs/newvideo/cache/h;
invoke-direct {v2, v0, v1}, Lcom/fulishe/fs/newvideo/cache/h;-><init>(Lcom/fulishe/fs/newvideo/cache/j;Lcom/fulishe/fs/newvideo/cache/a/b;)V
if-eqz p1, :cond_3a
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->e:Ljava/util/Map;
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v3, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-virtual {v1, v3}, Lcom/fulishe/fs/newvideo/cache/e;->a(Ljava/lang/String;)Ljava/io/File;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/fulishe/fs/newvideo/cache/p$a;
invoke-virtual {v2, v0}, Lcom/fulishe/fs/newvideo/cache/p;->a(Lcom/fulishe/fs/newvideo/cache/p$a;)V
:cond_3a
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->g:Lcom/fulishe/fs/newvideo/cache/d;
invoke-virtual {v2, v0}, Lcom/fulishe/fs/newvideo/cache/h;->a(Lcom/fulishe/fs/newvideo/cache/d;)V
return-object v2
.end method
# virtual methods
.method public declared-synchronized a()V
.registers 5
monitor-enter p0
:try_start_1
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I
move-result v0
if-gtz v0, :cond_47
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "finishProcessRequest..........\u505c\u6b62\u6570\u636e\u8bf7\u6c42\u6216\u4f20\u8f93\uff0cthread:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Thread;->getId()J
move-result-wide v2
invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ","
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "HttpProxyCacheServerClients"
invoke-static {v1, v0}, Lcom/fulishe/shadow/base/p;->a(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
if-eqz v0, :cond_47
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
invoke-virtual {v0}, Lcom/fulishe/fs/newvideo/cache/p;->a()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
:try_end_47
.catchall {:try_start_1 .. :try_end_47} :catchall_49
:cond_47
monitor-exit p0
return-void
:catchall_49
move-exception v0
monitor-exit p0
throw v0
.end method
.method public a(Lcom/fulishe/fs/newvideo/cache/g;Ljava/net/Socket;)V
.registers 9
const-wide/16 v4, -0x1
monitor-enter p0
:try_start_3
iget-boolean v0, p1, Lcom/fulishe/fs/newvideo/cache/g;->g:Z
invoke-direct {p0, v0}, Lcom/fulishe/fs/newvideo/cache/f;->a(Z)V
iget-boolean v0, p1, Lcom/fulishe/fs/newvideo/cache/g;->g:Z
if-nez v0, :cond_25
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
if-eqz v0, :cond_25
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-virtual {v0, v1}, Lcom/fulishe/fs/newvideo/cache/e;->a(Ljava/lang/String;)Ljava/io/File;
move-result-object v0
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->f:Ljava/util/Map;
invoke-interface {v1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/fulishe/fs/newvideo/cache/r;
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
invoke-virtual {v1, v0}, Lcom/fulishe/fs/newvideo/cache/p;->a(Lcom/fulishe/fs/newvideo/cache/r;)V
:cond_25
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
if-gez v0, :cond_33
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->set(I)V
:cond_33
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
monitor-exit p0
:try_end_39
.catchall {:try_start_3 .. :try_end_39} :catchall_92
:try_start_39
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
invoke-virtual {v0, p1, p2}, Lcom/fulishe/fs/newvideo/cache/h;->a(Lcom/fulishe/fs/newvideo/cache/g;Ljava/net/Socket;)V
:try_end_3e
.catchall {:try_start_39 .. :try_end_3e} :catchall_67
invoke-virtual {p0}, Lcom/fulishe/fs/newvideo/cache/f;->a()V
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->e:Ljava/util/Map;
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-virtual {v1, v2}, Lcom/fulishe/fs/newvideo/cache/e;->a(Ljava/lang/String;)Ljava/io/File;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_66
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->e:Ljava/util/Map;
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-virtual {v1, v2}, Lcom/fulishe/fs/newvideo/cache/e;->a(Ljava/lang/String;)Ljava/io/File;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/fulishe/fs/newvideo/cache/p$a;
iget-object v1, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-interface {v0, v1, v4, v5}, Lcom/fulishe/fs/newvideo/cache/p$a;->a(Ljava/lang/String;J)V
:cond_66
return-void
:catchall_67
move-exception v0
move-object v1, v0
invoke-virtual {p0}, Lcom/fulishe/fs/newvideo/cache/f;->a()V
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->e:Ljava/util/Map;
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v3, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-virtual {v2, v3}, Lcom/fulishe/fs/newvideo/cache/e;->a(Ljava/lang/String;)Ljava/io/File;
move-result-object v2
invoke-interface {v0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_91
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->e:Ljava/util/Map;
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->h:Lcom/fulishe/fs/newvideo/cache/e;
iget-object v3, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-virtual {v2, v3}, Lcom/fulishe/fs/newvideo/cache/e;->a(Ljava/lang/String;)Ljava/io/File;
move-result-object v2
invoke-interface {v0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/fulishe/fs/newvideo/cache/p$a;
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-interface {v0, v2, v4, v5}, Lcom/fulishe/fs/newvideo/cache/p$a;->a(Ljava/lang/String;J)V
:cond_91
throw v1
:catchall_92
move-exception v0
:try_start_93
monitor-exit p0
:try_end_94
.catchall {:try_start_93 .. :try_end_94} :catchall_92
throw v0
.end method
.method public a(Lcom/fulishe/fs/newvideo/cache/p$a;)V
.registers 5
if-eqz p1, :cond_15
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->e:Ljava/util/Map;
invoke-static {}, Lcom/fulishe/shadow/base/o;->G()Lcom/fulishe/shadow/base/m;
move-result-object v1
iget-object v2, p0, Lcom/fulishe/fs/newvideo/cache/f;->b:Ljava/lang/String;
invoke-interface {v1, v2}, Lcom/fulishe/shadow/base/m;->f(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-interface {v0, v1, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const/4 v0, 0x1
:try_start_12
invoke-direct {p0, v0}, Lcom/fulishe/fs/newvideo/cache/f;->a(Z)V
:try_end_15
.catchall {:try_start_12 .. :try_end_15} :catchall_16
:cond_15
:goto_15
return-void
:catchall_16
move-exception v0
const-string v1, "HttpProxyCacheServerClients"
const-string v2, "registerPreLoadCompleteListeners throw "
invoke-static {v1, v2, v0}, Lcom/fulishe/shadow/base/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
goto :goto_15
.end method
.method public a(Ljava/lang/String;)V
.registers 4
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->e:Ljava/util/Map;
invoke-static {}, Lcom/fulishe/shadow/base/o;->G()Lcom/fulishe/shadow/base/m;
move-result-object v1
invoke-interface {v1, p1}, Lcom/fulishe/shadow/base/m;->f(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
if-eqz v0, :cond_17
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/fulishe/fs/newvideo/cache/p;->a(Lcom/fulishe/fs/newvideo/cache/p$a;)V
:cond_17
return-void
.end method
.method public a(Ljava/lang/String;I)V
.registers 6
const-string v0, "HttpProxyCacheServerClients"
const-string v1, "openPreload()"
invoke-static {v0, v1}, Lcom/fulishe/shadow/base/p;->a(Ljava/lang/String;Ljava/lang/String;)V
const/4 v0, 0x1
:try_start_8
invoke-direct {p0, v0}, Lcom/fulishe/fs/newvideo/cache/f;->a(Z)V
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
invoke-virtual {v0, p1, p2}, Lcom/fulishe/fs/newvideo/cache/h;->a(Ljava/lang/String;I)V
:try_end_10
.catchall {:try_start_8 .. :try_end_10} :catchall_11
:goto_10
return-void
:catchall_11
move-exception v0
const-string v1, "HttpProxyCacheServerClients"
const-string v2, "openPreload throw : "
invoke-static {v1, v2, v0}, Lcom/fulishe/shadow/base/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
goto :goto_10
.end method
.method public declared-synchronized b()V
.registers 3
monitor-enter p0
:try_start_1
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->d:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->clear()V
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
if-eqz v0, :cond_18
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/fulishe/fs/newvideo/cache/h;->a(Lcom/fulishe/fs/newvideo/cache/d;)V
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
invoke-virtual {v0}, Lcom/fulishe/fs/newvideo/cache/p;->a()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->c:Lcom/fulishe/fs/newvideo/cache/h;
:cond_18
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->set(I)V
:try_end_1e
.catchall {:try_start_1 .. :try_end_1e} :catchall_20
monitor-exit p0
return-void
:catchall_20
move-exception v0
monitor-exit p0
throw v0
.end method
.method public c()I
.registers 2
iget-object v0, p0, Lcom/fulishe/fs/newvideo/cache/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
return v0
.end method