org.codehaus.httpcache4j.cache
Interface CacheStorage

All Superinterfaces:
Iterable<Key>
All Known Implementing Classes:
AbstractCacheStorage, NullCacheStorage

public interface CacheStorage
extends Iterable<Key>

Author:
Erlend Hamnaberg

Method Summary
 void clear()
           
 CacheItem get(HTTPRequest request)
           
 CacheItem get(Key key)
           
 HTTPResponse insert(HTTPRequest request, HTTPResponse response)
           
 void invalidate(URI uri)
           
 int size()
           
 HTTPResponse update(HTTPRequest request, HTTPResponse response)
           
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

insert

HTTPResponse insert(HTTPRequest request,
                    HTTPResponse response)

update

HTTPResponse update(HTTPRequest request,
                    HTTPResponse response)

get

CacheItem get(Key key)

get

CacheItem get(HTTPRequest request)

invalidate

void invalidate(URI uri)

clear

void clear()

size

int size()


Copyright © 2008-2011. All Rights Reserved.