@Deprecated @Internal public interface HttpAsyncCacheInvalidator
Modifier and Type | Method and Description |
---|---|
org.apache.hc.core5.concurrent.Cancellable |
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,
HttpAsyncCacheStorage cacheStorage,
org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback)
Deprecated.
Flush
HttpCacheEntry s invalidated by the given message exchange. |
org.apache.hc.core5.concurrent.Cancellable |
flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.function.Resolver<URI,String> cacheKeyResolver,
HttpAsyncCacheStorage cacheStorage,
org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback)
Deprecated.
Flush
HttpCacheEntry s invalidated by the given request. |
org.apache.hc.core5.concurrent.Cancellable flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.function.Resolver<URI,String> cacheKeyResolver, HttpAsyncCacheStorage cacheStorage, org.apache.hc.core5.concurrent.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 callbackorg.apache.hc.core5.concurrent.Cancellable 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, HttpAsyncCacheStorage cacheStorage, org.apache.hc.core5.concurrent.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 © 2010–2021 The Apache Software Foundation. All rights reserved.