Package com.bumptech.glide.disklrucache
Class DiskLruCache.Editor
java.lang.Object
com.bumptech.glide.disklrucache.DiskLruCache.Editor
- Enclosing class:
- DiskLruCache
Edits the values for an entry.
-
Method Summary
-
Method Details
-
getString
Returns the last committed value as a string, or null if no value has been committed.- Throws:
IOException
-
getFile
- Throws:
IOException
-
set
Sets the value atindextovalue.- Throws:
IOException
-
commit
Commits this edit so it is visible to readers. This releases the edit lock so another edit may be started on the same key.- Throws:
IOException
-
abort
Aborts this edit. This releases the edit lock so another edit may be started on the same key.- Throws:
IOException
-
abortUnlessCommitted
public void abortUnlessCommitted()
-