docs/javadoc/reference/com/facebook/cache/disk/DiskCacheConfig.Builder.html
|
|
Summary: Methods | Inherited Methods | [Expand All]
public static class
extends Object
| java.lang.Object | | ↳ | com.facebook.cache.disk.DiskCacheConfig.Builder |
| Public Methods |
|---|
| DiskCacheConfig |
| DiskCacheConfig.Builder |
| Sets the name of the directory where the cache will be located. |
| DiskCacheConfig.Builder |
| Sets the path to the base directory. |
| DiskCacheConfig.Builder |
| DiskCacheConfig.Builder |
| The logger that is used to log errors made by the cache. |
| DiskCacheConfig.Builder |
| The listener for cache events. |
| DiskCacheConfig.Builder |
| The class that will contain a registry of caches to be trimmed in low disk space conditions. |
| DiskCacheConfig.Builder |
| Provides the logic to determine the eviction order based on entry's access time and size |
| DiskCacheConfig.Builder |
| DiskCacheConfig.Builder |
| This is the default maximum size of the cache. |
| DiskCacheConfig.Builder |
| This is the maximum size of the cache that is used when the device is low on disk space. |
| DiskCacheConfig.Builder |
| This is the maximum size of the cache when the device is extremely low on disk space. |
| DiskCacheConfig.Builder |
| Sets the version. |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
|
Sets the name of the directory where the cache will be located.
Sets the path to the base directory.
A directory with the given base directory name (see setBaseDirectoryName) will be appended to this path.
The logger that is used to log errors made by the cache.
The listener for cache events.
The class that will contain a registry of caches to be trimmed in low disk space conditions.
See DiskTrimmableRegistry.
Provides the logic to determine the eviction order based on entry's access time and size
This is the default maximum size of the cache.
This is the maximum size of the cache that is used when the device is low on disk space.
See trimToMinimum().
This is the maximum size of the cache when the device is extremely low on disk space.
See trimToNothing().
Sets the version.
The cache lives in a subdirectory identified by this version.
+Generated by Doclava. +