org.apache.http.impl.client.cache.memcached
Class MemcachedHttpCacheStorage
java.lang.Object
org.apache.http.impl.client.cache.memcached.MemcachedHttpCacheStorage
- All Implemented Interfaces:
- HttpCacheStorage
public class MemcachedHttpCacheStorage
- extends Object
- implements HttpCacheStorage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemcachedHttpCacheStorage
public MemcachedHttpCacheStorage(InetSocketAddress address)
throws IOException
- Throws:
IOException
MemcachedHttpCacheStorage
public MemcachedHttpCacheStorage(MemcachedClientIF cache)
MemcachedHttpCacheStorage
public MemcachedHttpCacheStorage(MemcachedClientIF client,
CacheConfig config,
HttpCacheEntrySerializer serializer)
putEntry
public void putEntry(String url,
HttpCacheEntry entry)
throws IOException
- Specified by:
putEntry
in interface HttpCacheStorage
- Throws:
IOException
getEntry
public HttpCacheEntry getEntry(String url)
throws IOException
- Specified by:
getEntry
in interface HttpCacheStorage
- Throws:
IOException
removeEntry
public void removeEntry(String url)
throws IOException
- Specified by:
removeEntry
in interface HttpCacheStorage
- Throws:
IOException
updateEntry
public void updateEntry(String url,
HttpCacheUpdateCallback callback)
throws HttpCacheUpdateException,
IOException
- Specified by:
updateEntry
in interface HttpCacheStorage
- Throws:
HttpCacheUpdateException
IOException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.