Back to Fresco

NativeMemoryCacheTrimStrategy

docs/javadoc/reference/com/facebook/imagepipeline/cache/NativeMemoryCacheTrimStrategy.html

3.6.014.7 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

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
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) |

|

Public Constructors

public NativeMemoryCacheTrimStrategy()

Public Methods

public double getTrimRatio(MemoryTrimType trimType)

+Generated by Doclava. +