docs/javadoc/reference/com/facebook/imagepipeline/cache/BitmapMemoryCacheTrimStrategy.html
|
|
CountingMemoryCache<K, V>
MemoryCache<K, V>
Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
implements MemoryCache.CacheTrimStrategy
| java.lang.Object | | ↳ | com.facebook.imagepipeline.cache.BitmapMemoryCacheTrimStrategy |
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.
| Public Constructors |
|---|
| Public Methods |
|---|
| double |
| [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
| abstract double | getTrimRatio(MemoryTrimType trimType) |
|
+Generated by Doclava. +