MemoryResumableCache
class MemoryResumableCache(map: MutableMap<String, String> = AtomicMutableMap()) : ResumableCache(source)
A ResumableCache implementation using AtomicMutableMap. This implementation saves the urls in memory. If you want a disk based cache, use Disk. By default, cached urls expire after 30 minutes. You can change this by passing a custom AtomicMutableMap to the constructor
Functions
Link copied to clipboard
Returns the resumable cache entry for the fingerprint or null if no url was stored
Link copied to clipboard
Removes the entry for the fingerprint
Link copied to clipboard
Stores the entry for the fingerprint. The fingerprint consists of the bucket id, the file path and the file size