public class

CountingMemoryCacheInspector

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.cache.CountingMemoryCacheInspector<K, V>

Class Overview

Inspects values cached in bitmap memory cache.

Summary

Nested Classes
class CountingMemoryCacheInspector.DumpInfo<K, V> Info about the status of the cache for use by dumpers. 
class CountingMemoryCacheInspector.DumpInfoEntry<K, V> Cache entry info for use by dumpers. 
Public Constructors
CountingMemoryCacheInspector(CountingMemoryCache<K, V> countingBitmapCache)
Public Methods
DumpInfo dumpCacheContent()
Iterates through all entries cached in counting cache and builds snapshot of its content.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CountingMemoryCacheInspector (CountingMemoryCache<K, V> countingBitmapCache)

Public Methods

public DumpInfo dumpCacheContent ()

Iterates through all entries cached in counting cache and builds snapshot of its content. This should be used by tools that need to know current content of given cache.

Caller should call release method on returned DumpInfo after it is done with examining cache contents