Package 

Interface DiskCache.Writer


  • 
    public interface DiskCache.Writer
    
                        

    An interface to actually write data to a key in the disk cache.

    • Method Summary

      Modifier and Type Method Description
      abstract 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • write

         abstract 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.