DiskCache.Factory, DiskCache.Writer| Constructor and Description |
|---|
DiskCacheAdapter() |
public File get(Key key)
DiskCacheNote - This is potentially dangerous, someone may write a new value to the file at any point in timeand we won't know about it.
public void put(Key key, DiskCache.Writer writer)
DiskCacheDiskCache.Writer is used so that the cache implementation can perform actions after
the write finishes, like commit (via atomic file rename).public void delete(Key key)
DiskCache