|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cache
| Nested Class Summary | |
|---|---|
static class |
Cache.Disposition
|
| Method Summary | |
|---|---|
Cache |
clear()
Clear all items from the cache |
Cache.Disposition |
disposition(Object key,
RequestOptions options)
Get the disposition of a specific item |
CachedResponse |
get(Object key)
Get a specific item from the cache |
Cache |
remove(Object key)
Remove a specific item from the cache |
ClientResponse |
update(Object key,
RequestOptions options,
ClientResponse response,
ClientResponse cached_response)
Update the cached item |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
Cache.Disposition disposition(Object key,
RequestOptions options)
CachedResponse get(Object key)
Cache clear()
Cache remove(Object key)
ClientResponse update(Object key,
RequestOptions options,
ClientResponse response,
ClientResponse cached_response)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||