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 |
|
DebuggingCacheKey(String key, Object callerContext, Uri sourceUri)
|
[Expand]
Inherited Methods |
From class
com.facebook.cache.common.SimpleCacheKey
|
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.