Uses of Interface
org.apache.hc.client5.http.cache.HttpAsyncCacheStorage
-
Packages that use HttpAsyncCacheStorage Package Description org.apache.hc.client5.http.cache Caching APIs for both the classic and the asynchronous HTTP transports.org.apache.hc.client5.http.impl.cache Caching API implementation for both the classic and the asynchronous HTTP transports. -
-
Uses of HttpAsyncCacheStorage in org.apache.hc.client5.http.cache
Classes in org.apache.hc.client5.http.cache that implement HttpAsyncCacheStorage Modifier and Type Class Description class
HttpAsyncCacheStorageAdaptor
HttpAsyncCacheStorage
implementation that emulates asynchronous behavior using an instance of classicHttpCacheStorage
.Methods in org.apache.hc.client5.http.cache with parameters of type HttpAsyncCacheStorage Modifier and Type Method Description org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCacheInvalidator. 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<java.net.URI,java.lang.String> cacheKeyResolver, HttpAsyncCacheStorage cacheStorage, org.apache.hc.core5.concurrent.FutureCallback<java.lang.Boolean> callback)
FlushHttpCacheEntry
s invalidated by the given message exchange.org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCacheInvalidator. flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpAsyncCacheStorage cacheStorage, org.apache.hc.core5.concurrent.FutureCallback<java.lang.Boolean> callback)
FlushHttpCacheEntry
s invalidated by the given request. -
Uses of HttpAsyncCacheStorage in org.apache.hc.client5.http.impl.cache
Classes in org.apache.hc.client5.http.impl.cache that implement HttpAsyncCacheStorage Modifier and Type Class Description class
AbstractBinaryAsyncCacheStorage<CAS>
Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.class
AbstractSerializingAsyncCacheStorage<T,CAS>
Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.Fields in org.apache.hc.client5.http.impl.cache declared as HttpAsyncCacheStorage Modifier and Type Field Description private HttpAsyncCacheStorage
BasicHttpAsyncCache. storage
private HttpAsyncCacheStorage
CachingH2AsyncClientBuilder. storage
private HttpAsyncCacheStorage
CachingHttpAsyncClientBuilder. storage
Methods in org.apache.hc.client5.http.impl.cache with parameters of type HttpAsyncCacheStorage Modifier and Type Method Description private boolean
DefaultAsyncCacheInvalidator. flushAbsoluteUriFromSameHost(java.net.URI requestUri, java.net.URI uri, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpAsyncCacheStorage storage)
org.apache.hc.core5.concurrent.Cancellable
DefaultAsyncCacheInvalidator. 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<java.net.URI,java.lang.String> cacheKeyResolver, HttpAsyncCacheStorage storage, org.apache.hc.core5.concurrent.FutureCallback<java.lang.Boolean> callback)
org.apache.hc.core5.concurrent.Cancellable
DefaultAsyncCacheInvalidator. flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpAsyncCacheStorage storage, org.apache.hc.core5.concurrent.FutureCallback<java.lang.Boolean> callback)
private void
DefaultAsyncCacheInvalidator. flushRelativeUriFromSameHost(java.net.URI requestUri, java.net.URI uri, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpAsyncCacheStorage storage)
private void
DefaultAsyncCacheInvalidator. removeEntry(HttpAsyncCacheStorage storage, java.lang.String cacheKey)
CachingH2AsyncClientBuilder
CachingH2AsyncClientBuilder. setHttpCacheStorage(HttpAsyncCacheStorage storage)
CachingHttpAsyncClientBuilder
CachingHttpAsyncClientBuilder. setHttpCacheStorage(HttpAsyncCacheStorage storage)
Constructors in org.apache.hc.client5.http.impl.cache with parameters of type HttpAsyncCacheStorage Constructor Description AsyncCachingExec(ResourceFactory resourceFactory, HttpAsyncCacheStorage storage, java.util.concurrent.ScheduledExecutorService executorService, SchedulingStrategy schedulingStrategy, CacheConfig config)
BasicHttpAsyncCache(ResourceFactory resourceFactory, HttpAsyncCacheStorage storage)
BasicHttpAsyncCache(ResourceFactory resourceFactory, HttpAsyncCacheStorage storage, CacheKeyGenerator cacheKeyGenerator)
BasicHttpAsyncCache(ResourceFactory resourceFactory, HttpAsyncCacheStorage storage, CacheKeyGenerator cacheKeyGenerator, HttpAsyncCacheInvalidator cacheInvalidator)
-