public final class ExternalPreferredCacheDiskCacheFactory extends DiskLruCacheFactory
DiskLruCache
based disk cache in the external
disk cache directory, which falls back to the internal disk cache if no external storage is
available. If ever fell back to the internal disk cache, will use that one from that moment on.
Images can be read by everyone when using external disk cache.
DiskLruCacheFactory.CacheDirectoryGetter
DEFAULT_DISK_CACHE_DIR, DEFAULT_DISK_CACHE_SIZE
Constructor and Description |
---|
ExternalPreferredCacheDiskCacheFactory(Context context) |
ExternalPreferredCacheDiskCacheFactory(Context context,
long diskCacheSize) |
ExternalPreferredCacheDiskCacheFactory(Context context,
String diskCacheName,
long diskCacheSize) |