@Deprecated @Contract(threading=STATELESS) @Internal public interface HttpCacheInvalidator
Modifier and Type | Method and Description |
---|---|
void |
flushCacheEntriesInvalidatedByExchange(org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.function.Resolver<URI,String> cacheKeyResolver,
HttpCacheStorage cacheStorage)
Deprecated.
Flush
HttpCacheEntry s invalidated by the given message exchange. |
void |
flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.function.Resolver<URI,String> cacheKeyResolver,
HttpCacheStorage cacheStorage)
Deprecated.
Flush
HttpCacheEntry s invalidated by the given request. |
void flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.function.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(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.function.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.