@Internal public interface HttpAsyncCacheInvalidator
Modifier and Type | Method and Description |
---|---|
Cancellable |
flushCacheEntriesInvalidatedByExchange(HttpHost host,
HttpRequest request,
HttpResponse response,
Resolver<URI,String> cacheKeyResolver,
HttpAsyncCacheStorage cacheStorage,
FutureCallback<Boolean> callback)
Flush
HttpCacheEntry s invalidated by the given message exchange. |
Cancellable |
flushCacheEntriesInvalidatedByRequest(HttpHost host,
HttpRequest request,
Resolver<URI,String> cacheKeyResolver,
HttpAsyncCacheStorage cacheStorage,
FutureCallback<Boolean> callback)
Flush
HttpCacheEntry s invalidated by the given request. |
Cancellable flushCacheEntriesInvalidatedByRequest(HttpHost host, HttpRequest request, Resolver<URI,String> cacheKeyResolver, HttpAsyncCacheStorage cacheStorage, FutureCallback<Boolean> callback)
HttpCacheEntry
s invalidated by the given request.host
- backend hostrequest
- request messagecacheKeyResolver
- cache key resolver used by cache storagecacheStorage
- internal cache storagecallback
- result callbackCancellable flushCacheEntriesInvalidatedByExchange(HttpHost host, HttpRequest request, HttpResponse response, Resolver<URI,String> cacheKeyResolver, HttpAsyncCacheStorage cacheStorage, FutureCallback<Boolean> callback)
HttpCacheEntry
s invalidated by the given message exchange.host
- backend hostrequest
- request messageresponse
- response messagecacheKeyResolver
- cache key resolver used by cache storagecacheStorage
- internal cache storagecallback
- result callbackCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.