Interface DiskCache.Factory

All Known Implementing Classes:
DiskCacheAdapter.Factory, DiskLruCacheFactory, ExternalCacheDiskCacheFactory, ExternalPreferredCacheDiskCacheFactory, InternalCacheDiskCacheFactory
Enclosing interface:
DiskCache

public static interface DiskCache.Factory
An interface for lazily creating a disk cache.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final int
    250 MB of cache.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a new disk cache, or null if no disk cache could be created.
  • Field Details

  • Method Details

    • build

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