.class final Lokhttp3/Cache$RealCacheRequest; .super Ljava/lang/Object; .source "Cache.kt" # interfaces .implements Lokhttp3/internal/cache/CacheRequest; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lokhttp3/Cache; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x12 name = "RealCacheRequest" .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nCache.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Cache.kt\nokhttp3/Cache$RealCacheRequest\n*L\n1#1,784:1\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0000\u0008\u0082\u0004\u0018\u00002\u00020\u0001B\u0013\u0008\u0000\u0012\n\u0010\u0002\u001a\u00060\u0003R\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0008\u0010\u000f\u001a\u00020\u0010H\u0016J\u0008\u0010\u0006\u001a\u00020\u0007H\u0016R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0008\u001a\u00020\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001a\u0010\t\u001a\u00020\nX\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u000b\u0010\u000c\"\u0004\u0008\r\u0010\u000eR\u0012\u0010\u0002\u001a\u00060\u0003R\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011" } d2 = { "Lokhttp3/Cache$RealCacheRequest;", "Lokhttp3/internal/cache/CacheRequest;", "editor", "Lokhttp3/internal/cache/DiskLruCache$Editor;", "Lokhttp3/internal/cache/DiskLruCache;", "(Lokhttp3/Cache;Lokhttp3/internal/cache/DiskLruCache$Editor;)V", "body", "Lokio/Sink;", "cacheOut", "done", "", "getDone$okhttp", "()Z", "setDone$okhttp", "(Z)V", "abort", "", "okhttp" } k = 0x1 mv = { 0x1, 0x1, 0x10 } .end annotation # instance fields .field private final body:Lokio/Sink; .field private final cacheOut:Lokio/Sink; .field private done:Z .field private final editor:Lokhttp3/internal/cache/DiskLruCache$Editor; .field final synthetic this$0:Lokhttp3/Cache; # direct methods .method public constructor (Lokhttp3/Cache;Lokhttp3/internal/cache/DiskLruCache$Editor;)V .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lokhttp3/internal/cache/DiskLruCache$Editor;", ")V" } .end annotation const-string v0, "editor" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V .line 389 iput-object p1, p0, Lokhttp3/Cache$RealCacheRequest;->this$0:Lokhttp3/Cache; invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p2, p0, Lokhttp3/Cache$RealCacheRequest;->editor:Lokhttp3/internal/cache/DiskLruCache$Editor; const/4 p1, 0x1 .line 392 invoke-virtual {p2, p1}, Lokhttp3/internal/cache/DiskLruCache$Editor;->newSink(I)Lokio/Sink; move-result-object p1 iput-object p1, p0, Lokhttp3/Cache$RealCacheRequest;->cacheOut:Lokio/Sink; .line 397 new-instance p2, Lokhttp3/Cache$RealCacheRequest$1; invoke-direct {p2, p0, p1}, Lokhttp3/Cache$RealCacheRequest$1;->(Lokhttp3/Cache$RealCacheRequest;Lokio/Sink;)V check-cast p2, Lokio/Sink; iput-object p2, p0, Lokhttp3/Cache$RealCacheRequest;->body:Lokio/Sink; return-void .end method .method public static final synthetic access$getEditor$p(Lokhttp3/Cache$RealCacheRequest;)Lokhttp3/internal/cache/DiskLruCache$Editor; .registers 1 .line 389 iget-object p0, p0, Lokhttp3/Cache$RealCacheRequest;->editor:Lokhttp3/internal/cache/DiskLruCache$Editor; return-object p0 .end method # virtual methods .method public abort()V .registers 5 .line 412 iget-object v0, p0, Lokhttp3/Cache$RealCacheRequest;->this$0:Lokhttp3/Cache; monitor-enter v0 .line 413 :try_start_3 iget-boolean v1, p0, Lokhttp3/Cache$RealCacheRequest;->done:Z :try_end_5 .catchall {:try_start_3 .. :try_end_5} :catchall_24 if-eqz v1, :cond_9 monitor-exit v0 return-void :cond_9 const/4 v1, 0x1 .line 414 :try_start_a iput-boolean v1, p0, Lokhttp3/Cache$RealCacheRequest;->done:Z .line 415 iget-object v2, p0, Lokhttp3/Cache$RealCacheRequest;->this$0:Lokhttp3/Cache; invoke-virtual {v2}, Lokhttp3/Cache;->getWriteAbortCount$okhttp()I move-result v3 add-int/2addr v3, v1 invoke-virtual {v2, v3}, Lokhttp3/Cache;->setWriteAbortCount$okhttp(I)V :try_end_16 .catchall {:try_start_a .. :try_end_16} :catchall_24 .line 412 monitor-exit v0 .line 417 iget-object v0, p0, Lokhttp3/Cache$RealCacheRequest;->cacheOut:Lokio/Sink; check-cast v0, Ljava/io/Closeable; invoke-static {v0}, Lokhttp3/internal/Util;->closeQuietly(Ljava/io/Closeable;)V .line 419 :try_start_1e iget-object v0, p0, Lokhttp3/Cache$RealCacheRequest;->editor:Lokhttp3/internal/cache/DiskLruCache$Editor; invoke-virtual {v0}, Lokhttp3/internal/cache/DiskLruCache$Editor;->abort()V :try_end_23 .catch Ljava/io/IOException; {:try_start_1e .. :try_end_23} :catch_23 :catch_23 return-void :catchall_24 move-exception v1 .line 412 monitor-exit v0 throw v1 .end method .method public body()Lokio/Sink; .registers 2 .line 424 iget-object v0, p0, Lokhttp3/Cache$RealCacheRequest;->body:Lokio/Sink; return-object v0 .end method .method public final getDone$okhttp()Z .registers 2 .line 394 iget-boolean v0, p0, Lokhttp3/Cache$RealCacheRequest;->done:Z return v0 .end method .method public final setDone$okhttp(Z)V .registers 2 .line 394 iput-boolean p1, p0, Lokhttp3/Cache$RealCacheRequest;->done:Z return-void .end method