Back to Fresco

LruBucketsPoolBackend

docs/javadoc/reference/com/facebook/imagepipeline/memory/LruBucketsPoolBackend.html

3.6.015.3 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Annotations

Exceptions

Packages | Classes

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

public abstract class

LruBucketsPoolBackend

extends Object

| java.lang.Object | | ↳ | com.facebook.imagepipeline.memory.LruBucketsPoolBackend<T> |

| Known Direct Subclasses

BitmapPoolBackend

| BitmapPoolBackend | |

|

Class Overview

Relies on BucketMap to implement pooling Items from the bucket with LRU key will be removed first

Summary

Public Constructors
Public Methods
T
abstract int
T
void

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

|

Public Constructors

public LruBucketsPoolBackend()

Public Methods

public T get(int size)

public abstract int getSize(T item)

Returns
  • size for item which will be used in get(int)

public T pop()

public void put(T item)

+Generated by Doclava. +