Package 

Class NativeMemoryCacheTrimStrategy

  • All Implemented Interfaces:
    com.facebook.imagepipeline.cache.MemoryCache.CacheTrimStrategy

    
    public class NativeMemoryCacheTrimStrategy
     implements MemoryCache.CacheTrimStrategy
                        

    CountingMemoryCache 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.

    • Method Summary

      Modifier and Type Method Description
      double getTrimRatio(MemoryTrimType trimType)
      • Methods inherited from class com.facebook.imagepipeline.cache.MemoryCache.CacheTrimStrategy

        getTrimRatio
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NativeMemoryCacheTrimStrategy

        NativeMemoryCacheTrimStrategy()
    • Method Detail

      • getTrimRatio

         double getTrimRatio(MemoryTrimType trimType)