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
-
Method Details
-
write
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.
-