public class NullCacheStorage extends Object implements CacheStorage
| Constructor and Description |
|---|
NullCacheStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
CacheItem |
get(HTTPRequest request) |
CacheItem |
get(Key key) |
HTTPResponse |
insert(HTTPRequest request,
HTTPResponse response) |
void |
invalidate(Key key) |
void |
invalidate(URI uri) |
Iterator<Key> |
iterator() |
void |
shutdown() |
int |
size() |
HTTPResponse |
update(HTTPRequest request,
HTTPResponse response) |
public HTTPResponse insert(HTTPRequest request, HTTPResponse response)
insert in interface CacheStoragepublic HTTPResponse update(HTTPRequest request, HTTPResponse response)
update in interface CacheStoragepublic CacheItem get(HTTPRequest request)
get in interface CacheStoragepublic CacheItem get(Key key)
get in interface CacheStoragepublic void invalidate(Key key)
public void invalidate(URI uri)
invalidate in interface CacheStoragepublic void clear()
clear in interface CacheStoragepublic int size()
size in interface CacheStoragepublic void shutdown()
shutdown in interface CacheStorageCopyright © 2008-2013. All Rights Reserved.