java.lang.Object |
↳ |
com.facebook.imagepipeline.cache.MemoryCacheParams |
Class Overview
Configuration for a memory cache.
Summary
Public Constructors |
|
MemoryCacheParams(int maxCacheSize, int maxCacheEntries, int maxEvictionQueueSize, int maxEvictionQueueEntries, int maxCacheEntrySize)
Pass arguments to control the cache's behavior in the constructor.
|
[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()
|
|
Fields
public
final
int
maxCacheEntries
public
final
int
maxCacheEntrySize
public
final
int
maxCacheSize
public
final
int
maxEvictionQueueEntries
public
final
int
maxEvictionQueueSize
Public Constructors
public
MemoryCacheParams
(int maxCacheSize, int maxCacheEntries, int maxEvictionQueueSize, int maxEvictionQueueEntries, int maxCacheEntrySize)
Pass arguments to control the cache's behavior in the constructor.
Parameters
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.
|