com.squareup.okhttp.internal.DiskLruCache.class Maven / Gradle / Ivy
???? 3? n
o
p q r s
t u v w
x
y
z { |
?} ~?@
? ??
? ? ????
? ?? ?? ? ? ? ?
???
'}??????
?
??
???
0}?
0?
0??
.??
0?
??
???
;??? < ???
C}?
??
??
???
?????
???
??????
.?
??
???
? ?
?????
]?
??
???
??
?? ?
??
??
?
??
??
j?
? ??
??
j?
j?
j? ??
t? ?
???????
j?
j?
j?
j?????????????
j?
j?
?
?
?
j?
j???????????
j???
t??
?}
t
t
0
???
j
t
?
??
??
?} Entry InnerClasses Editor Snapshot JOURNAL_FILE Ljava/lang/String;
ConstantValue JOURNAL_FILE_TEMP JOURNAL_FILE_BACKUP MAGIC VERSION_1 ANY_SEQUENCE_NUMBER J LEGAL_KEY_PATTERN Ljava/util/regex/Pattern; CLEAN DIRTY REMOVE READ
fileSystem ,Lcom/squareup/okhttp/internal/io/FileSystem; directory Ljava/io/File; journalFile journalFileTmp journalFileBackup
appVersion I maxSize
valueCount size
journalWriter Lokio/BufferedSink;
lruEntries Ljava/util/LinkedHashMap; Signature ^Ljava/util/LinkedHashMap; redundantOpCount hasJournalErrors Z initialized closed nextSequenceNumber executor Ljava/util/concurrent/Executor; cleanupRunnable Ljava/lang/Runnable; NULL_SINK Lokio/Sink; $assertionsDisabled _(Lcom/squareup/okhttp/internal/io/FileSystem;Ljava/io/File;IIJLjava/util/concurrent/Executor;)V Code LineNumberTable LocalVariableTable this +Lcom/squareup/okhttp/internal/DiskLruCache;
initialize ()V journalIsCorrupt Ljava/io/IOException;
StackMapTable?
Exceptions create j(Lcom/squareup/okhttp/internal/io/FileSystem;Ljava/io/File;IIJ)Lcom/squareup/okhttp/internal/DiskLruCache; readJournal endOfJournal Ljava/io/EOFException; magic version appVersionString valueCountString blank lineCount source Lokio/BufferedSource;?? newJournalWriter ()Lokio/BufferedSink; fileSink faultHidingSink readJournalLine (Ljava/lang/String;)V key parts [Ljava/lang/String; line
firstSpace keyBegin secondSpace entry 1Lcom/squareup/okhttp/internal/DiskLruCache$Entry;? processJournal t i Ljava/util/Iterator; LocalVariableTypeTable GLjava/util/Iterator; rebuildJournal writer! get H(Ljava/lang/String;)Lcom/squareup/okhttp/internal/DiskLruCache$Snapshot; snapshot 4Lcom/squareup/okhttp/internal/DiskLruCache$Snapshot; edit F(Ljava/lang/String;)Lcom/squareup/okhttp/internal/DiskLruCache$Editor; G(Ljava/lang/String;J)Lcom/squareup/okhttp/internal/DiskLruCache$Editor; expectedSequenceNumber editor 2Lcom/squareup/okhttp/internal/DiskLruCache$Editor; getDirectory ()Ljava/io/File;
getMaxSize ()J
setMaxSize (J)V completeEdit 6(Lcom/squareup/okhttp/internal/DiskLruCache$Editor;Z)V clean oldLength newLength dirty success? journalRebuildRequired ()Z redundantOpCompactThreshold remove (Ljava/lang/String;)Z removeEntry 4(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;)Z isClosed checkNotClosed flush close
trimToSize toEvict delete evictAll validateKey matcher Ljava/util/regex/Matcher;" snapshots ()Ljava/util/Iterator; L()Ljava/util/Iterator;
access$000 .(Lcom/squareup/okhttp/internal/DiskLruCache;)Z x0
access$100
access$200 .(Lcom/squareup/okhttp/internal/DiskLruCache;)V
access$300
access$400
access$502 /(Lcom/squareup/okhttp/internal/DiskLruCache;I)I x1
access$602 /(Lcom/squareup/okhttp/internal/DiskLruCache;Z)Z access$2000 F(Lcom/squareup/okhttp/internal/DiskLruCache;)Ljava/util/LinkedHashMap; access$2200 r(Lcom/squareup/okhttp/internal/DiskLruCache;Ljava/lang/String;J)Lcom/squareup/okhttp/internal/DiskLruCache$Editor; x2 access$2300 .(Lcom/squareup/okhttp/internal/DiskLruCache;)I access$2400 Y(Lcom/squareup/okhttp/internal/DiskLruCache;)Lcom/squareup/okhttp/internal/io/FileSystem; access$2500
()Lokio/Sink; access$2600 a(Lcom/squareup/okhttp/internal/DiskLruCache;Lcom/squareup/okhttp/internal/DiskLruCache$Editor;Z)V access$2700 _(Lcom/squareup/okhttp/internal/DiskLruCache;Lcom/squareup/okhttp/internal/DiskLruCache$Entry;)Z access$2800 ;(Lcom/squareup/okhttp/internal/DiskLruCache;)Ljava/io/File;
SourceFile DiskLruCache.java ? ?<=/0 ? ? ? ? ? ?#% ? ? ? ? ? ? ?78B ? ? ? ? ? ? ? ? ? java/util/LinkedHashMap ?# ? ? +com/squareup/okhttp/internal/DiskLruCache$1 ?R ? ? ? ? java/io/File )com/squareup/okhttp/internal/DiskLruCache journal ?$ ? ? journal.tmp ? ? journal.bkp ? ? ? ? ? ? ? ?%&' java/lang/AssertionError()*D+,- ? ? ? java/io/IOException./ java/lang/StringBuilder
DiskLruCache 0102
is corrupt: 34
, removing546 D ? "java/lang/IllegalArgumentException maxSize <= 0 ? valueCount <= 0 'java/util/concurrent/ThreadPoolExecutor789 (java/util/concurrent/LinkedBlockingQueue OkHttp DiskLruCache:;< ?= ? ? ?>?@AB4 libcore.io.DiskLruCacheC' 1D5E unexpected journal header: [ , ] java/io/EOFException ?FG8 ? ?HIJK +com/squareup/okhttp/internal/DiskLruCache$2 ?L@MNO unexpected journal line: NPQERFS;:TQUT /com/squareup/okhttp/internal/DiskLruCache$Entry ?VWX YZ[\]^_` 0com/squareup/okhttp/internal/DiskLruCache$Editor ?abcdeK f8ghijklmnon: ?!A ?pKqrstuvwxyz ? ?? ?F {= |}~??@ ??? java/lang/IllegalStateException??? ? 2Newly created entry didn't create value for index 0? ??????>8 cache is closed?? 2[Lcom/squareup/okhttp/internal/DiskLruCache$Entry;?+ ? ??G?"?8 *keys must match regex [a-z0-9_-]{1,120}: " " +com/squareup/okhttp/internal/DiskLruCache$3??8 [a-z0-9_-]{1,120}?? +com/squareup/okhttp/internal/DiskLruCache$4 java/lang/Object java/io/Closeable 2com/squareup/okhttp/internal/DiskLruCache$Snapshot okio/BufferedSource java/lang/String java/lang/Throwable java/io/FileNotFoundException java/util/Iterator okio/BufferedSink java/util/regex/Matcher (IFZ)V #(Ljava/io/File;Ljava/lang/String;)V java/lang/Thread holdsLock (Ljava/lang/Object;)Z *com/squareup/okhttp/internal/io/FileSystem exists (Ljava/io/File;)Z (Ljava/io/File;)V rename (Ljava/io/File;Ljava/io/File;)V %com/squareup/okhttp/internal/Platform )()Lcom/squareup/okhttp/internal/Platform; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
getMessage ()Ljava/lang/String; toString logW java/util/concurrent/TimeUnit SECONDS Ljava/util/concurrent/TimeUnit; !com/squareup/okhttp/internal/Util
threadFactory 9(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory; m(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V (Ljava/io/File;)Lokio/Source; okio/Okio buffer $(Lokio/Source;)Lokio/BufferedSource; readUtf8LineStrict equals java/lang/Integer (I)Ljava/lang/String; ()I exhausted closeQuietly (Ljava/io/Closeable;)V
appendingSink (Ljava/io/File;)Lokio/Sink; 9(Lcom/squareup/okhttp/internal/DiskLruCache;Lokio/Sink;)V (Lokio/Sink;)Lokio/BufferedSink; indexOf (I)I (II)I substring length
startsWith &(Ljava/lang/Object;)Ljava/lang/Object; (II)Ljava/lang/String; m(Lcom/squareup/okhttp/internal/DiskLruCache;Ljava/lang/String;Lcom/squareup/okhttp/internal/DiskLruCache$1;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; split '(Ljava/lang/String;)[Ljava/lang/String;
access$802 5(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;Z)Z
access$902 ?(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;Lcom/squareup/okhttp/internal/DiskLruCache$Editor;)Lcom/squareup/okhttp/internal/DiskLruCache$Editor; access$1000 G(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;[Ljava/lang/String;)V ?(Lcom/squareup/okhttp/internal/DiskLruCache;Lcom/squareup/okhttp/internal/DiskLruCache$Entry;Lcom/squareup/okhttp/internal/DiskLruCache$1;)V values ()Ljava/util/Collection; java/util/Collection iterator hasNext next ()Ljava/lang/Object;
access$900 e(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;)Lcom/squareup/okhttp/internal/DiskLruCache$Editor; access$1200 5(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;)[J access$1300 B(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;)[Ljava/io/File; access$1400 sink writeUtf8 '(Ljava/lang/String;)Lokio/BufferedSink; writeByte (I)Lokio/BufferedSink; writeDecimalLong (J)Lokio/BufferedSink; access$1500 E(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;)Ljava/lang/String; writeLengths (Lokio/BufferedSink;)V
access$800 6()Lcom/squareup/okhttp/internal/DiskLruCache$Snapshot; java/util/concurrent/Executor execute (Ljava/lang/Runnable;)V access$1600 4(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;)J access$1700 e(Lcom/squareup/okhttp/internal/DiskLruCache$Editor;)Lcom/squareup/okhttp/internal/DiskLruCache$Entry; access$1800 6(Lcom/squareup/okhttp/internal/DiskLruCache$Editor;)[Z abort (I)Ljava/lang/StringBuilder; (Ljava/io/File;)J access$1602 5(Lcom/squareup/okhttp/internal/DiskLruCache$Entry;J)J access$1902 6(Lcom/squareup/okhttp/internal/DiskLruCache$Editor;Z)Z toArray (([Ljava/lang/Object;)[Ljava/lang/Object; deleteContents java/util/regex/Pattern 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; matches java/lang/Class desiredAssertionStatus compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; 1 ? ? ? ? ? ? ? ? ? ? ? ! ? ? ? L ? ? ? N ? ? ? ? ? ? ? ? ? m ? ? ? s ? ? ? d ? ? ? v ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? , ? ? ? u*? * ? *? Y? ? * ? *? Y*? ? *+? *,? *? *? Y,? ? *? Y,? ? *? Y,!? ? "*? *? #*? $? ? > ? ? ? ? ? ) ? . ? 3 ? 8 ? F ? T ? b ? h ? n ? t ? ? H u ? ? u ? ? u ? ? u ? ? u ? ? u ? ? u ? ? ! ? ? ? Z ?? %? *? &? ? 'Y? (?*? ? ?*? *? "? ) ? 4*? *? ? ) ? *? *? "? * ? *? *? "*? ? + *? *? ? ) ? H*? ,*? -*? ?L? /? 0Y? 12? 3*? ? 45? 3+? 6? 37? 3? 8? 9*? :*? *? *? ? n { | . ? V ? ? ? ? - ? = ? M ? ^ ? n ? r ? v ? { ? | ? } ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? } 6 ? ? ? ? ? ? /] ?6 ? . ? ? ? ?
M ??
? ;Y