com.bumptech.glide.load.engine.cache
Class InternalCacheDiskCacheFactory
java.lang.Object
com.bumptech.glide.load.engine.cache.InternalCacheDiskCacheFactory
- All Implemented Interfaces:
- DiskCache.Factory
public final class InternalCacheDiskCacheFactory
- extends Object
- implements DiskCache.Factory
Creates an DiskLruCache
based disk cache in the internal disk cache
directory.
Method Summary |
DiskCache |
build()
Returns a new disk cache, or null if no disk cache could be created. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternalCacheDiskCacheFactory
public InternalCacheDiskCacheFactory(Context context,
int diskCacheSize)
InternalCacheDiskCacheFactory
public InternalCacheDiskCacheFactory(Context context,
String diskCacheName,
int diskCacheSize)
build
public DiskCache build()
- Description copied from interface:
DiskCache.Factory
- Returns a new disk cache, or
null
if no disk cache could be created.
- Specified by:
build
in interface DiskCache.Factory