com.bumptech.glide.load.engine.cache
Class ExternalCacheDiskCacheFactory

java.lang.Object
  extended by com.bumptech.glide.load.engine.cache.DiskLruCacheFactory
      extended by com.bumptech.glide.load.engine.cache.ExternalCacheDiskCacheFactory
All Implemented Interfaces:
DiskCache.Factory

public final class ExternalCacheDiskCacheFactory
extends DiskLruCacheFactory

Creates an DiskLruCache based disk cache in the external disk cache directory.

Images can be read by everyone when using external disk cache.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.bumptech.glide.load.engine.cache.DiskLruCacheFactory
DiskLruCacheFactory.CacheDirectoryGetter
 
Field Summary
 
Fields inherited from interface com.bumptech.glide.load.engine.cache.DiskCache.Factory
DEFAULT_DISK_CACHE_DIR, DEFAULT_DISK_CACHE_SIZE
 
Constructor Summary
ExternalCacheDiskCacheFactory(Context context)
           
ExternalCacheDiskCacheFactory(Context context, int diskCacheSize)
           
ExternalCacheDiskCacheFactory(Context context, String diskCacheName, int diskCacheSize)
           
 
Method Summary
 
Methods inherited from class com.bumptech.glide.load.engine.cache.DiskLruCacheFactory
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalCacheDiskCacheFactory

public ExternalCacheDiskCacheFactory(Context context)

ExternalCacheDiskCacheFactory

public ExternalCacheDiskCacheFactory(Context context,
                                     int diskCacheSize)

ExternalCacheDiskCacheFactory

public ExternalCacheDiskCacheFactory(Context context,
                                     String diskCacheName,
                                     int diskCacheSize)