Interface Cache
-
- All Known Implementing Classes:
AbstractCache,InMemoryCache,LRUCache
@Deprecated public interface Cache extends Iterable<Object>
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCache.DispositionDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Cacheclear()Deprecated.Clear all items from the cacheCache.Dispositiondisposition(Object key, RequestOptions options)Deprecated.Get the disposition of a specific itemCachedResponseget(Object key)Deprecated.Get a specific item from the cacheCacheremove(Object key)Deprecated.Remove a specific item from the cacheClientResponseupdate(Object key, RequestOptions options, ClientResponse response, ClientResponse cached_response)Deprecated.Update the cached item-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
disposition
Cache.Disposition disposition(Object key, RequestOptions options)
Deprecated.Get the disposition of a specific item
-
get
CachedResponse get(Object key)
Deprecated.Get a specific item from the cache
-
clear
Cache clear()
Deprecated.Clear all items from the cache
-
update
ClientResponse update(Object key, RequestOptions options, ClientResponse response, ClientResponse cached_response)
Deprecated.Update the cached item
-
-