java.lang.Object |
↳ |
com.facebook.imagepipeline.cache.BitmapMemoryCacheTrimStrategy |
Class Overview
CountingMemoryCache eviction strategy appropriate for bitmap caches.
If run on KitKat or below, then this TrimStrategy behaves exactly as
NativeMemoryCacheTrimStrategy. If run on Lollipop, then BitmapMemoryCacheTrimStrategy will trim
cache in one additional case: when OnCloseToDalvikHeapLimit trim type is received, cache's
eviction queue will be trimmed according to OnCloseToDalvikHeapLimit's suggested trim ratio.
Summary
[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()
|
|
From interface
com.facebook.imagepipeline.cache.MemoryCache.CacheTrimStrategy
|
Public Constructors
public
BitmapMemoryCacheTrimStrategy
()
Public Methods