@Contract(threading=STATELESS) @Internal public interface HttpCacheInvalidator
Modifier and Type | Method and Description |
---|---|
void |
flushCacheEntriesInvalidatedByExchange(HttpHost host,
HttpRequest request,
HttpResponse response,
Resolver<URI,String> cacheKeyResolver,
HttpCacheStorage cacheStorage)
Flush
HttpCacheEntry s invalidated by the given message exchange. |
void |
flushCacheEntriesInvalidatedByRequest(HttpHost host,
HttpRequest request,
Resolver<URI,String> cacheKeyResolver,
HttpCacheStorage cacheStorage)
Flush
HttpCacheEntry s invalidated by the given request. |
void flushCacheEntriesInvalidatedByRequest(HttpHost host, HttpRequest request, Resolver<URI,String> cacheKeyResolver, HttpCacheStorage cacheStorage)
HttpCacheEntry
s invalidated by the given request.host
- backend hostrequest
- request messagecacheKeyResolver
- cache key resolver used by cache storagecacheStorage
- internal cache storagevoid flushCacheEntriesInvalidatedByExchange(HttpHost host, HttpRequest request, HttpResponse response, Resolver<URI,String> cacheKeyResolver, HttpCacheStorage cacheStorage)
HttpCacheEntry
s invalidated by the given message exchange.host
- backend hostrequest
- request messageresponse
- response messagecacheKeyResolver
- cache key resolver used by cache storagecacheStorage
- internal cache storageCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.