@Contract(threading=STATELESS) @Internal public class DefaultCacheInvalidator extends Object implements HttpCacheInvalidator
| Modifier and Type | Field and Description |
|---|---|
static DefaultCacheInvalidator |
INSTANCE |
| Constructor and Description |
|---|
DefaultCacheInvalidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCacheEntriesInvalidatedByExchange(HttpHost host,
HttpRequest request,
HttpResponse response,
Resolver<URI,String> cacheKeyResolver,
HttpCacheStorage storage)
Flush
HttpCacheEntrys invalidated by the given message exchange. |
void |
flushCacheEntriesInvalidatedByRequest(HttpHost host,
HttpRequest request,
Resolver<URI,String> cacheKeyResolver,
HttpCacheStorage storage)
Flush
HttpCacheEntrys invalidated by the given request. |
public static final DefaultCacheInvalidator INSTANCE
public void flushCacheEntriesInvalidatedByRequest(HttpHost host, HttpRequest request, Resolver<URI,String> cacheKeyResolver, HttpCacheStorage storage)
HttpCacheInvalidatorHttpCacheEntrys invalidated by the given request.flushCacheEntriesInvalidatedByRequest in interface HttpCacheInvalidatorhost - backend hostrequest - request messagecacheKeyResolver - cache key resolver used by cache storagestorage - internal cache storagepublic void flushCacheEntriesInvalidatedByExchange(HttpHost host, HttpRequest request, HttpResponse response, Resolver<URI,String> cacheKeyResolver, HttpCacheStorage storage)
HttpCacheInvalidatorHttpCacheEntrys invalidated by the given message exchange.flushCacheEntriesInvalidatedByExchange in interface HttpCacheInvalidatorhost - backend hostrequest - request messageresponse - response messagecacheKeyResolver - cache key resolver used by cache storagestorage - internal cache storageCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.