Back to Fresco

DebuggingCacheKey

docs/javadoc/reference/com/facebook/cache/common/DebuggingCacheKey.html

3.6.014.3 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Enums

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

public class

DebuggingCacheKey

extends SimpleCacheKey

| java.lang.Object | | ↳ | com.facebook.cache.common.SimpleCacheKey | | | ↳ | com.facebook.cache.common.DebuggingCacheKey |

Class Overview

Extension of SimpleCacheKey which adds the ability to hold a caller context. This can be of use for debugging and has no bearing on equality.

Summary

Public Constructors
Public Methods
Object
Uri
Original URI the image was fetched from.

| [Expand] Inherited Methods | | --- | | From class com.facebook.cache.common.SimpleCacheKey

| boolean | containsUri(Uri uri) Returns true if this key was constructed from this Uri. | | boolean | equals(Object o) | | String | getUriString() Returns a string representation of the URI at the heart of the cache key. | | int | hashCode() | | boolean | isResourceIdForDebugging() Returns true if this key was constructed from a resource ID. | | String | toString() |

| | 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.cache.common.CacheKey

| abstract boolean | containsUri(Uri uri) Returns true if this key was constructed from this Uri. | | abstract boolean | equals(Object o) This method must be implemented, otherwise the cache keys will be be compared by reference. | | abstract String | getUriString() Returns a string representation of the URI at the heart of the cache key. | | abstract int | hashCode() This method must be implemented with accordance to the equals(Object) method. | | abstract boolean | isResourceIdForDebugging() Returns true if this key was constructed from a resource ID. | | abstract String | toString() This is useful for instrumentation and debugging purposes. |

|

Public Constructors

public DebuggingCacheKey(String key, Object callerContext, Uri sourceUri)

Public Methods

public Object getCallerContext()

public Uri getSourceUri()

Original URI the image was fetched from.

+Generated by Doclava. +