public class

NativeMemoryCacheTrimStrategy

extends Object
implements MemoryCache.CacheTrimStrategy
java.lang.Object
   ↳ com.facebook.imagepipeline.cache.NativeMemoryCacheTrimStrategy

Class Overview

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.

Summary

Public Constructors
NativeMemoryCacheTrimStrategy()
Public Methods
double getTrimRatio(MemoryTrimType trimType)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.cache.MemoryCache.CacheTrimStrategy

Public Constructors

public NativeMemoryCacheTrimStrategy ()

Public Methods

public double getTrimRatio (MemoryTrimType trimType)