java.lang.Object | |
↳ | com.facebook.imagepipeline.cache.NoOpImageCacheStatsTracker |
Class that does no stats tracking at all
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized static NoOpImageCacheStatsTracker | getInstance() | ||||||||||
void |
onBitmapCacheHit(CacheKey cacheKey)
Called on a bitmap cache hit.
| ||||||||||
void |
onBitmapCacheMiss()
Called on a bitmap cache miss.
| ||||||||||
void |
onBitmapCachePut()
Called whenever decoded images are put into the bitmap cache.
| ||||||||||
void |
onDiskCacheGetFail()
Called if an exception is thrown on a disk cache read.
| ||||||||||
void |
onDiskCacheHit()
Called on a disk cache hit.
| ||||||||||
void |
onDiskCacheMiss()
Called on a disk cache miss.
| ||||||||||
void |
onMemoryCacheHit(CacheKey cacheKey)
Called on an encoded memory cache hit.
| ||||||||||
void |
onMemoryCacheMiss()
Called on an encoded memory cache hit.
| ||||||||||
void |
onMemoryCachePut()
Called whenever encoded images are put into the encoded memory cache.
| ||||||||||
void |
onStagingAreaHit(CacheKey cacheKey)
Called on an staging area hit.
| ||||||||||
void |
onStagingAreaMiss()
Called on a staging area miss hit.
| ||||||||||
void |
registerBitmapMemoryCache(CountingMemoryCache<?, ?> bitmapMemoryCache)
Registers a bitmap cache with this tracker.
| ||||||||||
void |
registerEncodedMemoryCache(CountingMemoryCache<?, ?> encodedMemoryCache)
Registers an encoded memory cache with this tracker.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Called on a bitmap cache miss.
Called whenever decoded images are put into the bitmap cache.
Called if an exception is thrown on a disk cache read.
Called on a disk cache hit.
Called on a disk cache miss.
Called on an encoded memory cache hit.
Called whenever encoded images are put into the encoded memory cache.
Called on an staging area hit.
The staging area stores encoded images. It gets the images before they are written to disk cache.
Called on a staging area miss hit.
Registers a bitmap cache with this tracker.
Use this method if you need access to the cache itself to compile your stats.
Registers an encoded memory cache with this tracker.
Use this method if you need access to the cache itself to compile your stats.