Searched refs:journalWriter (Results 1 – 2 of 2) sorted by relevance
145 private Writer journalWriter; field in DiskLruCache163 if (journalWriter == null) {273 journalWriter = new BufferedWriter(new OutputStreamWriter( in readJournal()348 if (journalWriter != null) { in rebuildJournal()349 journalWriter.close(); in rebuildJournal()382 journalWriter = new BufferedWriter( in rebuildJournal()425 journalWriter.append(READ); in get()426 journalWriter.append(' '); in get()427 journalWriter.append(key); in get()428 journalWriter.append('\n'); in get()[all …]
150 private BufferedSink journalWriter; field in DiskLruCache293 journalWriter = newJournalWriter(); in readJournal()378 if (journalWriter != null) { in rebuildJournal()379 journalWriter.close(); in rebuildJournal()412 journalWriter = newJournalWriter(); in rebuildJournal()433 journalWriter.writeUtf8(READ).writeByte(' ').writeUtf8(key).writeByte('\n'); in get()464 journalWriter.writeUtf8(DIRTY).writeByte(' ').writeUtf8(key).writeByte('\n'); in edit()465 journalWriter.flush(); in edit()554 journalWriter.writeUtf8(CLEAN).writeByte(' '); in completeEdit()555 journalWriter.writeUtf8(entry.key); in completeEdit()[all …]