java.lang.Object | |
↳ | com.facebook.imagepipeline.cache.CountingMemoryCache.Entry<K, V> |
The internal representation of a key-value pair stored by the cache.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public int | clientCount | ||||||||||
public boolean | isOrphan | ||||||||||
public final K | key | ||||||||||
public final EntryStateObserver<K> | observer | ||||||||||
public final CloseableReference<V> | valueRef |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static <K, V> Entry<K, V> |
of(K key, CloseableReference<V> valueRef, EntryStateObserver<K> observer)
Creates a new entry with the usage count of 0.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a new entry with the usage count of 0.