Interface DiskCache.Writer

Enclosing interface:
DiskCache

public static interface DiskCache.Writer
An interface to actually write data to a key in the disk cache.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    write(File file)
    Writes data to the file and returns true if the write was successful and should be committed, and false if the write should be aborted.
  • Method Details

    • write

      boolean write(@NonNull File file)
      Writes data to the file and returns true if the write was successful and should be committed, and false if the write should be aborted.
      Parameters:
      file - The File the Writer should write to.