public synchronized void flush() throws IOException {
    checkNotClosed();
    trimToSize();
    journalWriter.flush();
  }
Force buffered operations to the filesystem.
core/src/main/java/com/bumptech/glide/disklrucache/DiskLruCache.java