Back to Fresco

NoOpImageCacheStatsTracker

docs/javadoc/reference/com/facebook/imagepipeline/cache/NoOpImageCacheStatsTracker.html

3.6.024.3 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Packages | Classes

Summary: Methods | Inherited Methods | [Expand All]

public class

NoOpImageCacheStatsTracker

extends Object
implements ImageCacheStatsTracker

| java.lang.Object | | ↳ | com.facebook.imagepipeline.cache.NoOpImageCacheStatsTracker |

Class Overview

Class that does no stats tracking at all

Summary

Public Methods
synchronized static NoOpImageCacheStatsTracker
void
Called on a bitmap cache hit.
void
Called on a bitmap cache miss.
void
Called whenever decoded images are put into the bitmap cache.
void
Called if an exception is thrown on a disk cache read.
void
Called on a disk cache hit.
void
Called on a disk cache miss.
void
called whenever new files are written to disk
void
Called on an encoded memory cache hit.
void
Called on an encoded memory cache hit.
void
Called whenever encoded images are put into the encoded memory cache.
void
Called on an staging area hit.
void
Called on a staging area miss hit.
void
Registers a bitmap cache with this tracker.
void
Registers an encoded memory cache with this tracker.

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

| | From interface com.facebook.imagepipeline.cache.ImageCacheStatsTracker

| abstract void | onBitmapCacheHit(CacheKey cacheKey) Called on a bitmap cache hit. | | abstract void | onBitmapCacheMiss(CacheKey cacheKey) Called on a bitmap cache miss. | | abstract void | onBitmapCachePut(CacheKey cacheKey) Called whenever decoded images are put into the bitmap cache. | | abstract void | onDiskCacheGetFail(CacheKey cacheKey) Called if an exception is thrown on a disk cache read. | | abstract void | onDiskCacheHit(CacheKey cacheKey) Called on a disk cache hit. | | abstract void | onDiskCacheMiss(CacheKey cacheKey) Called on a disk cache miss. | | abstract void | onDiskCachePut(CacheKey cacheKey) called whenever new files are written to disk | | abstract void | onMemoryCacheHit(CacheKey cacheKey) Called on an encoded memory cache hit. | | abstract void | onMemoryCacheMiss(CacheKey cacheKey) Called on an encoded memory cache hit. | | abstract void | onMemoryCachePut(CacheKey cacheKey) Called whenever encoded images are put into the encoded memory cache. | | abstract void | onStagingAreaHit(CacheKey cacheKey) Called on an staging area hit. | | abstract void | onStagingAreaMiss(CacheKey cacheKey) Called on a staging area miss hit. | | abstract void | registerBitmapMemoryCache(MemoryCache<?, ?> bitmapMemoryCache) Registers a bitmap cache with this tracker. | | abstract void | registerEncodedMemoryCache(MemoryCache<?, ?> encodedMemoryCache) Registers an encoded memory cache with this tracker. |

|

Public Methods

public static synchronized NoOpImageCacheStatsTracker getInstance()

public void onBitmapCacheHit(CacheKey cacheKey)

Called on a bitmap cache hit.

public void onBitmapCacheMiss(CacheKey cacheKey)

Called on a bitmap cache miss.

public void onBitmapCachePut(CacheKey cacheKey)

Called whenever decoded images are put into the bitmap cache.

public void onDiskCacheGetFail(CacheKey cacheKey)

Called if an exception is thrown on a disk cache read.

public void onDiskCacheHit(CacheKey cacheKey)

Called on a disk cache hit.

public void onDiskCacheMiss(CacheKey cacheKey)

Called on a disk cache miss.

public void onDiskCachePut(CacheKey cacheKey)

called whenever new files are written to disk

public void onMemoryCacheHit(CacheKey cacheKey)

Called on an encoded memory cache hit.

public void onMemoryCacheMiss(CacheKey cacheKey)

Called on an encoded memory cache hit.

public void onMemoryCachePut(CacheKey cacheKey)

Called whenever encoded images are put into the encoded memory cache.

public void onStagingAreaHit(CacheKey cacheKey)

Called on an staging area hit.

The staging area stores encoded images. It gets the images before they are written to disk cache.

public void onStagingAreaMiss(CacheKey cacheKey)

Called on a staging area miss hit.

public void registerBitmapMemoryCache(MemoryCache<?, ?> bitmapMemoryCache)

Registers a bitmap cache with this tracker.

Use this method if you need access to the cache itself to compile your stats.

public void registerEncodedMemoryCache(MemoryCache<?, ?> encodedMemoryCache)

Registers an encoded memory cache with this tracker.

Use this method if you need access to the cache itself to compile your stats.

+Generated by Doclava. +