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.org.apache.hc.client5.http.impl.cache.memcached Memcached based caching backend implementation. -
-
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 classHttpAsyncCacheStorageAdaptorHttpAsyncCacheStorageimplementation 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.CancellableHttpAsyncCacheInvalidator. 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)FlushHttpCacheEntrys invalidated by the given message exchange.org.apache.hc.core5.concurrent.CancellableHttpAsyncCacheInvalidator. 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)FlushHttpCacheEntrys 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 classAbstractBinaryAsyncCacheStorage<CAS>Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.classAbstractSerializingAsyncCacheStorage<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 HttpAsyncCacheStorageBasicHttpAsyncCache. storageprivate HttpAsyncCacheStorageCachingH2AsyncClientBuilder. storageMethods in org.apache.hc.client5.http.impl.cache with parameters of type HttpAsyncCacheStorage Modifier and Type Method Description private booleanDefaultAsyncCacheInvalidator. 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.CancellableDefaultAsyncCacheInvalidator. 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.CancellableDefaultAsyncCacheInvalidator. 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 voidDefaultAsyncCacheInvalidator. 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 voidDefaultAsyncCacheInvalidator. removeEntry(HttpAsyncCacheStorage storage, java.lang.String cacheKey)CachingH2AsyncClientBuilderCachingH2AsyncClientBuilder. 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) -
Uses of HttpAsyncCacheStorage in org.apache.hc.client5.http.impl.cache.memcached
Classes in org.apache.hc.client5.http.impl.cache.memcached that implement HttpAsyncCacheStorage Modifier and Type Class Description classMemcachedHttpAsyncCacheStorageThis class is a storage backend that uses an external memcached for storing cached origin responses.
-