org.apache.abdera.protocol.client.cache
Class AbstractCache
java.lang.Object
org.apache.abdera.protocol.client.cache.AbstractCache
- All Implemented Interfaces:
- Iterable<Object>, Cache
- Direct Known Subclasses:
- InMemoryCache
public abstract class AbstractCache
- extends Object
- implements Cache
Nested classes/interfaces inherited from interface org.apache.abdera.protocol.client.cache.Cache |
Cache.Disposition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.abdera.protocol.client.cache.Cache |
clear, get, remove |
abdera
protected final Abdera abdera
AbstractCache
protected AbstractCache(Abdera abdera)
disposition
public Cache.Disposition disposition(Object key,
RequestOptions options)
- Description copied from interface:
Cache
- Get the disposition of a specific item
- Specified by:
disposition
in interface Cache
add
protected abstract void add(Object key,
CachedResponse response)
createCachedResponse
protected abstract CachedResponse createCachedResponse(ClientResponse response,
Object key)
throws IOException
- Throws:
IOException
update
public ClientResponse update(Object key,
RequestOptions options,
ClientResponse response,
ClientResponse cached_response)
- Description copied from interface:
Cache
- Update the cached item
- Specified by:
update
in interface Cache
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.