Lines Matching refs:journalWriter
161 private Writer journalWriter; field in DiskLruCache
275 if (journalWriter == null) {
322 cache.journalWriter = new BufferedWriter(new FileWriter(cache.journalFile, true), in open()
427 if (journalWriter != null) { in rebuildJournal()
428 journalWriter.close(); in rebuildJournal()
452 journalWriter = new BufferedWriter(new FileWriter(journalFile, true), IO_BUFFER_SIZE); in rebuildJournal()
501 journalWriter.append(READ + ' ' + key + '\n'); in get()
536 journalWriter.write(DIRTY + ' ' + key + '\n'); in edit()
537 journalWriter.flush(); in edit()
601 journalWriter.write(CLEAN + ' ' + entry.key + entry.getLengths() + '\n'); in completeEdit()
607 journalWriter.write(REMOVE + ' ' + entry.key + '\n'); in completeEdit()
649 journalWriter.append(REMOVE + ' ' + key + '\n'); in remove()
663 return journalWriter == null; in isClosed()
667 if (journalWriter == null) { in checkNotClosed()
678 journalWriter.flush(); in flush()
685 if (journalWriter == null) { in close()
694 journalWriter.close(); in close()
695 journalWriter = null; in close()