Cache$CacheRequestImpl$1.smali
.class Lokhttp3/Cache$CacheRequestImpl$1;
.super Lokio/f;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/Cache$CacheRequestImpl;-><init>(Lokhttp3/Cache;Lokhttp3/internal/cache/DiskLruCache$Editor;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lokhttp3/Cache$CacheRequestImpl;
.field final synthetic val$editor:Lokhttp3/internal/cache/DiskLruCache$Editor;
.field final synthetic val$this$0:Lokhttp3/Cache;
# direct methods
.method constructor <init>(Lokhttp3/Cache$CacheRequestImpl;Lokio/p;Lokhttp3/Cache;Lokhttp3/internal/cache/DiskLruCache$Editor;)V
.registers 5
iput-object p1, p0, Lokhttp3/Cache$CacheRequestImpl$1;->this$1:Lokhttp3/Cache$CacheRequestImpl;
iput-object p3, p0, Lokhttp3/Cache$CacheRequestImpl$1;->val$this$0:Lokhttp3/Cache;
iput-object p4, p0, Lokhttp3/Cache$CacheRequestImpl$1;->val$editor:Lokhttp3/internal/cache/DiskLruCache$Editor;
invoke-direct {p0, p2}, Lokio/f;-><init>(Lokio/p;)V
return-void
.end method
# virtual methods
.method public close()V
.registers 4
iget-object v0, p0, Lokhttp3/Cache$CacheRequestImpl$1;->this$1:Lokhttp3/Cache$CacheRequestImpl;
iget-object v1, v0, Lokhttp3/Cache$CacheRequestImpl;->this$0:Lokhttp3/Cache;
monitor-enter v1
:try_start_5
iget-object v0, p0, Lokhttp3/Cache$CacheRequestImpl$1;->this$1:Lokhttp3/Cache$CacheRequestImpl;
iget-boolean v0, v0, Lokhttp3/Cache$CacheRequestImpl;->done:Z
if-eqz v0, :cond_d
monitor-exit v1
:goto_c
return-void
:cond_d
iget-object v0, p0, Lokhttp3/Cache$CacheRequestImpl$1;->this$1:Lokhttp3/Cache$CacheRequestImpl;
const/4 v2, 0x1
iput-boolean v2, v0, Lokhttp3/Cache$CacheRequestImpl;->done:Z
iget-object v0, p0, Lokhttp3/Cache$CacheRequestImpl$1;->this$1:Lokhttp3/Cache$CacheRequestImpl;
iget-object v0, v0, Lokhttp3/Cache$CacheRequestImpl;->this$0:Lokhttp3/Cache;
iget v2, v0, Lokhttp3/Cache;->writeSuccessCount:I
add-int/lit8 v2, v2, 0x1
iput v2, v0, Lokhttp3/Cache;->writeSuccessCount:I
monitor-exit v1
:try_end_1d
.catchall {:try_start_5 .. :try_end_1d} :catchall_26
invoke-super {p0}, Lokio/f;->close()V
iget-object v0, p0, Lokhttp3/Cache$CacheRequestImpl$1;->val$editor:Lokhttp3/internal/cache/DiskLruCache$Editor;
invoke-virtual {v0}, Lokhttp3/internal/cache/DiskLruCache$Editor;->commit()V
goto :goto_c
:catchall_26
move-exception v0
:try_start_27
monitor-exit v1
:try_end_28
.catchall {:try_start_27 .. :try_end_28} :catchall_26
throw v0
.end method