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(CacheKey cacheKey)
Called on a bitmap cache miss.
| ||||||||||
void |
onBitmapCachePut(CacheKey cacheKey)
Called whenever decoded images are put into the bitmap cache.
| ||||||||||
void |
onDiskCacheGetFail(CacheKey cacheKey)
Called if an exception is thrown on a disk cache read.
| ||||||||||
void |
onDiskCacheHit(CacheKey cacheKey)
Called on a disk cache hit.
| ||||||||||
void |
onDiskCacheMiss(CacheKey cacheKey)
Called on a disk cache miss.
| ||||||||||
void |
onDiskCachePut(CacheKey cacheKey)
called whenever new files are written to disk
| ||||||||||
void |
onMemoryCacheHit(CacheKey cacheKey)
Called on an encoded memory cache hit.
| ||||||||||
void |
onMemoryCacheMiss(CacheKey cacheKey)
Called on an encoded memory cache hit.
| ||||||||||
void |
onMemoryCachePut(CacheKey cacheKey)
Called whenever encoded images are put into the encoded memory cache.
| ||||||||||
void |
onStagingAreaHit(CacheKey cacheKey)
Called on an staging area hit.
| ||||||||||
void |
onStagingAreaMiss(CacheKey cacheKey)
Called on a staging area miss hit.
| ||||||||||
void |
registerBitmapMemoryCache(MemoryCache<?, ?> bitmapMemoryCache)
Registers a bitmap cache with this tracker.
| ||||||||||
void |
registerEncodedMemoryCache(MemoryCache<?, ?> encodedMemoryCache)
Registers an encoded memory cache with this tracker.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.imagepipeline.cache.ImageCacheStatsTracker
|
Called whenever decoded images are put into the bitmap cache.
Called if an exception is thrown on a disk cache read.
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.
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.