public class

BitmapMemoryCacheKey

extends Object
implements CacheKey
java.lang.Object
   ↳ com.facebook.imagepipeline.cache.BitmapMemoryCacheKey

Class Overview

Cache key for BitmapMemoryCache

Summary

Public Constructors
BitmapMemoryCacheKey(String sourceString, ResizeOptions resizeOptions, RotationOptions rotationOptions, ImageDecodeOptions imageDecodeOptions, CacheKey postprocessorCacheKey, String postprocessorName, Object callerContext)
Public Methods
boolean containsUri(Uri uri)
Returns true if this key was constructed from this Uri.
boolean equals(Object o)
Object getCallerContext()
long getInBitmapCacheSince()
String getPostprocessorName()
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.cache.common.CacheKey

Public Constructors

public BitmapMemoryCacheKey (String sourceString, ResizeOptions resizeOptions, RotationOptions rotationOptions, ImageDecodeOptions imageDecodeOptions, CacheKey postprocessorCacheKey, String postprocessorName, Object callerContext)

Public Methods

public boolean containsUri (Uri uri)

Returns true if this key was constructed from this Uri.

Used for cases like deleting all keys for a given uri.

public boolean equals (Object o)

public Object getCallerContext ()

public long getInBitmapCacheSince ()

public String getPostprocessorName ()

public String getUriString ()

Returns a string representation of the URI at the heart of the cache key. In cases of multiple keys being contained, the first is returned.

public int hashCode ()

public boolean isResourceIdForDebugging ()

Returns true if this key was constructed from a resource ID. If this ever changes, the disk cache entries corresponding to this cache key would be invalidated.

public String toString ()