| Package | Description |
|---|---|
| com.hannesdorfmann.httpkit.cache | |
| com.hannesdorfmann.httpkit.request |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCacheEntry<T>
This is the default implementation of a
CacheEntry |
class |
WeakCacheEntry<T> |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry<V> |
MemoryCache.get(K key)
Get the Cached entry
|
CacheEntry<V> |
LruMemoryCache.get(K key) |
CacheEntry<V> |
LruDiskCache.get(K key,
Class<?> targetClass,
int collectionType) |
CacheEntry<V> |
DiskCache.get(K key,
Class<?> targetClass,
int collectionType) |
CacheEntry<V> |
HybridCache.getFromDiskCache(K key,
Class<?> targetClass,
int collectionType) |
CacheEntry<V> |
Cache.getFromDiskCache(K key,
Class<?> targetClass,
int collectionType)
Get a value from the cache by passing additional information for the
ParserWriter |
CacheEntry<V> |
HybridCache.getFromMemoryCache(K key) |
CacheEntry<V> |
Cache.getFromMemoryCache(K key)
Do a quick look up.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MemoryCache.put(K key,
CacheEntry<V> entry)
Put a already existing entry in the memory cache
|
void |
LruMemoryCache.put(K key,
CacheEntry<V> entry) |
void |
HybridCache.putToMemoryCache(K key,
CacheEntry<V> entry) |
void |
Cache.putToMemoryCache(K key,
CacheEntry<V> value)
Put a already existing
CacheEntry to the memory cache. |
protected int |
LruMemoryCache.sizeOf(K key,
CacheEntry<V> value)
Returns the size of the entry for
key and value in
user-defined units. |
protected int |
BitmapLruMemoryCache.sizeOf(String key,
CacheEntry<android.graphics.Bitmap> entry) |
protected int |
CastedBitmapLruMemoryCache.sizeOf(String key,
CacheEntry<Object> entry) |
| Modifier and Type | Method and Description |
|---|---|
<T> CacheEntry<T> |
HttpRequest.getCachedResultFor304() |
<T> CacheEntry<T> |
AbstractHttpRequest.getCachedResultFor304() |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpRequest.setCachedResultFor304(CacheEntry<?> cachedResult)
If the cached result contains an ETag, than we need to revalidate it,
even if we have a cached result.
|
void |
AbstractHttpRequest.setCachedResultFor304(CacheEntry<?> cachedResult) |
Copyright © 2015 Hannes Dorfmann. All rights reserved.