@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(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 storage)Flush  HttpCacheEntrys 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 storage)Flush  HttpCacheEntrys invalidated by the given request. | 
public static final DefaultCacheInvalidator INSTANCE
public 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 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(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 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.