-
- All Implemented Interfaces:
-
com.facebook.imagepipeline.cache.MemoryCache.CacheTrimStrategy
public class NativeMemoryCacheTrimStrategy implements MemoryCache.CacheTrimStrategyCountingMemoryCache eviction strategy appropriate for caches that store resources off the Dalvik heap.
In case of OnCloseToDalvikHeapLimit nothing will be done. In case of other trim types eviction queue of the cache will be cleared.
-
-
Constructor Summary
Constructors Constructor Description NativeMemoryCacheTrimStrategy()
-
Method Summary
Modifier and Type Method Description doublegetTrimRatio(MemoryTrimType trimType)-
-
Method Detail
-
getTrimRatio
double getTrimRatio(MemoryTrimType trimType)
-
-
-
-