Package com.facebook.cache.disk
Abstraction and classes related to disk cache.
See: Description
-
Class Summary Class Description ScoreBasedEvictionComparatorSupplier Evicts cache items based on a mix of their size and timestamp. DiskDumpInfoEntry DiskDumpInfo DynamicDefaultDiskStorage A supplier of a DiskStorage concrete implementation. Builder DiskCacheConfig Configuration class for a DiskStorageCache. DefaultEntryEvictionComparatorSupplier Sorts entries by date of the last access, evicting old ones first DefaultDiskStorage The default disk storage implementation. SettableCacheEvent Implementation of CacheEvent that allows the values to be set and supports recycling of instances. Params DiskStorageCache Cache that manages disk storage. -
Interface Summary Interface Description FileCache Interface that caches based on disk should implement. Entry Inserter This is a builder-like interface returned when calling insert. DiskStorage Storage for files in the cache. EntryEvictionComparatorSupplier Provides an instance of eviction comparator EntryEvictionComparator Defines an order the items are being evicted from the cache. -
Annotation Summary Annotation Description FileType Categories for the different internal files a ShardedDiskStorage maintains.