Back to Fresco

CountingMemoryCache.Entry

docs/javadoc/reference/com/facebook/imagepipeline/cache/CountingMemoryCache.Entry.html

3.6.015.5 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

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

public static class

CountingMemoryCache.Entry

extends Object

| java.lang.Object | | ↳ | com.facebook.imagepipeline.cache.CountingMemoryCache.Entry<K, V> |

Class Overview

The internal representation of a key-value pair stored by the cache.

Summary

Fields
public int
public boolean
public final K
public final EntryStateObserver<K>
public final CloseableReference<V>
Public Methods
static <K, V> Entry<K, V>
Creates a new entry with the usage count of 0.

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

|

Fields

public int clientCount

public boolean isOrphan

public final K key

public final EntryStateObserver<K> observer

public final CloseableReference<V> valueRef

Public Methods

public static Entry<K, V> of(K key, CloseableReference<V> valueRef, EntryStateObserver<K> observer)

Creates a new entry with the usage count of 0.

+Generated by Doclava. +