Searched refs:journalWriter (Results 1 – 3 of 3) 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 …]
152 private BufferedSink journalWriter; field in DiskLruCache295 journalWriter = newJournalWriter(); in readJournal()380 if (journalWriter != null) { in rebuildJournal()381 journalWriter.close(); in rebuildJournal()414 journalWriter = newJournalWriter(); in rebuildJournal()435 journalWriter.writeUtf8(READ).writeByte(' ').writeUtf8(key).writeByte('\n'); in get()466 journalWriter.writeUtf8(DIRTY).writeByte(' ').writeUtf8(key).writeByte('\n'); in edit()467 journalWriter.flush(); in edit()556 journalWriter.writeUtf8(CLEAN).writeByte(' '); in completeEdit()557 journalWriter.writeUtf8(entry.key); in completeEdit()[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 …]