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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean write​(java.io.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 Detail

      • write

        boolean write​(@NonNull
                      java.io.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.