| java.lang.Object | |
| ↳ | com.facebook.imagepipeline.cache.MemoryCacheParams |
Configuration for a memory cache.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public final int | maxCacheEntries | ||||||||||
| public final int | maxCacheEntrySize | ||||||||||
| public final int | maxCacheSize | ||||||||||
| public final int | maxEvictionQueueEntries | ||||||||||
| public final int | maxEvictionQueueSize | ||||||||||
| public final long | paramsCheckIntervalMs | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
MemoryCacheParams(int maxCacheSize, int maxCacheEntries, int maxEvictionQueueSize, int maxEvictionQueueEntries, int maxCacheEntrySize)
Pass arguments to control the cache's behavior in the constructor.
| |||||||||||
|
MemoryCacheParams(int maxCacheSize, int maxCacheEntries, int maxEvictionQueueSize, int maxEvictionQueueEntries, int maxCacheEntrySize, long paramsCheckIntervalMs)
Pass arguments to control the cache's behavior in the constructor.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Pass arguments to control the cache's behavior in the constructor.
| maxCacheSize | The maximum size of the cache, in bytes. |
|---|---|
| maxCacheEntries | The maximum number of items that can live in the cache. |
| maxEvictionQueueSize | The eviction queue is an area of memory that stores items ready for eviction but have not yet been deleted. This is the maximum size of that queue in bytes. |
| maxEvictionQueueEntries | The maximum number of entries in the eviction queue. |
| maxCacheEntrySize | The maximum size of a single cache entry. |
Pass arguments to control the cache's behavior in the constructor.
| maxCacheSize | The maximum size of the cache, in bytes. |
|---|---|
| maxCacheEntries | The maximum number of items that can live in the cache. |
| maxEvictionQueueSize | The eviction queue is an area of memory that stores items ready for eviction but have not yet been deleted. This is the maximum size of that queue in bytes. |
| maxEvictionQueueEntries | The maximum number of entries in the eviction queue. |
| maxCacheEntrySize | The maximum size of a single cache entry. |
| paramsCheckIntervalMs | Interval between checking parameters for updated values in ms. |