Package 

Class LruBitmapPool

  • All Implemented Interfaces:
    com.facebook.common.memory.MemoryTrimmable , com.facebook.common.memory.Pool , com.facebook.common.references.ResourceReleaser , com.facebook.imagepipeline.memory.BitmapPool

    
    public class LruBitmapPool
     implements BitmapPool
                        
    • Constructor Summary

      Constructors 
      Constructor Description
      LruBitmapPool(int maxPoolSize, int maxBitmapSize, PoolStatsTracker poolStatsTracker, MemoryTrimmableRegistry memoryTrimmableRegistry)
    • Method Summary

      Modifier and Type Method Description
      void trim(MemoryTrimType trimType)
      synchronized Bitmap get(int size)
      void release(Bitmap value)
      • Methods inherited from class com.facebook.common.memory.Pool

        get, release
      • Methods inherited from class com.facebook.common.memory.MemoryTrimmable

        trim
      • Methods inherited from class java.lang.Object

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

      • LruBitmapPool

        LruBitmapPool(int maxPoolSize, int maxBitmapSize, PoolStatsTracker poolStatsTracker, MemoryTrimmableRegistry memoryTrimmableRegistry)