package

com.facebook.cache.disk

Abstraction and classes related to disk cache.

Interfaces

DiskStorage Storage for files in the cache. 
DiskStorage.Entry  
DiskStorage.Inserter This is a builder-like interface returned when calling insert. 
EntryEvictionComparator Defines an order the items are being evicted from the cache. 
EntryEvictionComparatorSupplier Provides an instance of eviction comparator  
FileCache Interface that caches based on disk should implement. 

Classes

DefaultDiskStorage The default disk storage implementation. 
DefaultEntryEvictionComparatorSupplier Sorts entries by date of the last access, evicting old ones first  
DiskCacheConfig Configuration class for a DiskStorageCache
DiskCacheConfig.Builder  
DiskStorage.DiskDumpInfo  
DiskStorage.DiskDumpInfoEntry  
DiskStorageCache Cache that manages disk storage. 
DiskStorageCache.Params  
DynamicDefaultDiskStorage A supplier of a DiskStorage concrete implementation. 
ScoreBasedEvictionComparatorSupplier Evicts cache items based on a mix of their size and timestamp. 
SettableCacheEvent Implementation of CacheEvent that allows the values to be set and supports recycling of instances.