Modifier and Type | Class and Description |
---|---|
class |
BaseMemoryCache
Base memory cache.
|
class |
LimitedMemoryCache
Limited cache.
|
Modifier and Type | Class and Description |
---|---|
class |
FIFOLimitedMemoryCache
Limited
bitmap cache. |
class |
FuzzyKeyMemoryCache
Decorator for
MemoryCache . |
class |
LargestLimitedMemoryCache
Limited
bitmap cache. |
class |
LimitedAgeMemoryCache
Decorator for
MemoryCache . |
class |
LRULimitedMemoryCache
Limited
bitmap cache. |
class |
LruMemoryCache
A cache that holds strong references to a limited number of Bitmaps.
|
class |
UsingFreqLimitedMemoryCache
Limited
bitmap cache. |
class |
WeakMemoryCache
Memory cache with weak references to bitmaps
NOTE: This cache uses only weak references for stored Bitmaps. |
Constructor and Description |
---|
FuzzyKeyMemoryCache(MemoryCache cache,
Comparator<String> keyComparator) |
LimitedAgeMemoryCache(MemoryCache cache,
long maxAge) |
Modifier and Type | Method and Description |
---|---|
static MemoryCache |
DefaultConfigurationFactory.createMemoryCache(android.content.Context context,
int memoryCacheSize)
Creates default implementation of
MemoryCache - LruMemoryCache Default cache size = 1/8 of available app memory. |
MemoryCache |
ImageLoader.getMemoryCache()
Returns memory cache
|
Modifier and Type | Method and Description |
---|---|
ImageLoaderConfiguration.Builder |
ImageLoaderConfiguration.Builder.memoryCache(MemoryCache memoryCache)
Sets memory cache for
bitmaps .Default value - LruMemoryCache
with limited memory cache size (size = 1/8 of available app memory)NOTE: If you set custom memory cache then following configuration option will not be considered: ImageLoaderConfiguration.Builder.memoryCacheSize(int)
|
Modifier and Type | Method and Description |
---|---|
static List<android.graphics.Bitmap> |
MemoryCacheUtils.findCachedBitmapsForImageUri(String imageUri,
MemoryCache memoryCache)
Searches all bitmaps in memory cache which are corresponded to incoming URI.
Note: Memory cache can contain multiple sizes of the same image if only you didn't set denyCacheImageMultipleSizesInMemory() option in configuration |
static List<String> |
MemoryCacheUtils.findCacheKeysForImageUri(String imageUri,
MemoryCache memoryCache)
Searches all keys in memory cache which are corresponded to incoming URI.
Note: Memory cache can contain multiple sizes of the same image if only you didn't set denyCacheImageMultipleSizesInMemory() option in configuration |
static void |
MemoryCacheUtils.removeFromCache(String imageUri,
MemoryCache memoryCache)
Removes from memory cache all images for incoming URI.
Note: Memory cache can contain multiple sizes of the same image if only you didn't set denyCacheImageMultipleSizesInMemory() option in configuration |
Copyright © 2011-2015. All Rights Reserved.