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.


Field Summary
static String DEFAULT_DISK_CACHE_DIR
           
static int DEFAULT_DISK_CACHE_SIZE
          250 MB of cache.
 
Method Summary
 DiskCache build()
          Returns a new disk cache, or null if no disk cache could be created.
 

Field Detail

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
Method Detail

build

DiskCache build()
Returns a new disk cache, or null if no disk cache could be created.