com.bumptech.glide.load.engine.cache
Interface DiskCache.Factory
- All Known Implementing Classes:
- DiskLruCacheFactory, ExternalCacheDiskCacheFactory, InternalCacheDiskCacheFactory
- Enclosing interface:
- DiskCache
public static interface DiskCache.Factory
An interface for lazily creating a disk cache.
Method Summary |
DiskCache |
build()
Returns a new disk cache, or null if no disk cache could be created. |
DEFAULT_DISK_CACHE_SIZE
static final int DEFAULT_DISK_CACHE_SIZE
- 250 MB of cache.
- See Also:
- Constant Field Values
DEFAULT_DISK_CACHE_DIR
static final String DEFAULT_DISK_CACHE_DIR
- See Also:
- Constant Field Values
build
DiskCache build()
- Returns a new disk cache, or
null
if no disk cache could be created.