## Uses of Class
org.apache.http.impl.client.cache.CacheConfig

- Packages that use CacheConfig
  Package | Description
  --- | ---
  org.apache.http.impl.client.cache | This package contains a cache module that can be used for HTTP/1.1 client-side caching.
  org.apache.http.impl.client.cache.ehcache | This package contains a storage backend based on Ehcache that can be plugged into a `CachingHttpClient` and used for storing cache entries.
  org.apache.http.impl.client.cache.memcached | This package contains a storage backend based on memcached that can be plugged into a `CachingHttpClient` and used for storing cache entries.

- - ### Uses of CacheConfig in org.apache.http.impl.client.cache

    Fields in org.apache.http.impl.client.cache declared as CacheConfig
    Modifier and Type | Field and Description
    --- | ---
    `static CacheConfig` | CacheConfig.`DEFAULT`

    Methods in org.apache.http.impl.client.cache that return CacheConfig
    Modifier and Type | Method and Description
    --- | ---
    `CacheConfig` | CacheConfig.Builder.`build()`
    `protected CacheConfig` | CacheConfig.`clone()`

    Methods in org.apache.http.impl.client.cache with parameters of type CacheConfig
    Modifier and Type | Method and Description
    --- | ---
    `static CacheConfig.Builder` | CacheConfig.`copy(CacheConfig config)`
    `CachingHttpClientBuilder` | CachingHttpClientBuilder.`setCacheConfig(CacheConfig cacheConfig)`

    Constructors in org.apache.http.impl.client.cache with parameters of type CacheConfig
    Constructor and Description
    `BasicHttpCacheStorage(CacheConfig config)`
    `CachingExec(ClientExecChain backend, org.apache.http.impl.client.cache.HttpCache cache, CacheConfig config)`
    `CachingExec(ClientExecChain backend, org.apache.http.impl.client.cache.HttpCache cache, CacheConfig config, org.apache.http.impl.client.cache.AsynchronousValidator asynchRevalidator)`
    `CachingExec(ClientExecChain backend, ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config)`
    `CachingHttpClient(CacheConfig config)` Deprecated. Constructs a `CachingHttpClient` with the given caching options that stores cache entries in memory and uses a vanilla `DefaultHttpClient` for backend requests.
    `CachingHttpClient(HttpClient client, CacheConfig config)` Deprecated. Constructs a `CachingHttpClient` with the given caching options that stores cache entries in memory and uses the given `HttpClient` for backend requests.
    `CachingHttpClient(HttpClient client, HttpCacheStorage storage, CacheConfig config)` Deprecated. Constructs a `CachingHttpClient` with the given caching options that stores cache entries in the provided storage backend and uses the given `HttpClient` for backend requests.
    `CachingHttpClient(HttpClient client, ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config)` Deprecated. Constructs a `CachingHttpClient` with the given caching options that stores cache entries in the provided storage backend and uses the given `HttpClient` for backend requests.
    `ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig)` Create a new scheduling strategy using a fixed pool of worker threads.
    `ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig, long backOffRate, long initialExpiryInMillis, long maxExpiryInMillis)` Create a new scheduling strategy by using a fixed pool of worker threads and the given parameters to calculated the delay.
    `ImmediateSchedulingStrategy(CacheConfig cacheConfig)` Uses a `ThreadPoolExecutor` which is configured according to the given `CacheConfig`.
    `ManagedHttpCacheStorage(CacheConfig config)`

  - ### Uses of CacheConfig in org.apache.http.impl.client.cache.ehcache

    Constructors in org.apache.http.impl.client.cache.ehcache with parameters of type CacheConfig
    Constructor and Description
    `EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache, CacheConfig config)` Constructs a storage backend using the provided Ehcache with the given configuration options.
    `EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache, CacheConfig config, HttpCacheEntrySerializer serializer)` Constructs a storage backend using the provided Ehcache with the given configuration options, but using an alternative cache entry serialization strategy.

  - ### Uses of CacheConfig in org.apache.http.impl.client.cache.memcached

    Constructors in org.apache.http.impl.client.cache.memcached with parameters of type CacheConfig
    Constructor and Description
    `MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client, CacheConfig config, HttpCacheEntrySerializer serializer)` Deprecated. (4.2) do not use
    `MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client, CacheConfig config, MemcachedCacheEntryFactory memcachedCacheEntryFactory, KeyHashingScheme keyHashingScheme)` Create a storage backend using the given memcached client and applying the given cache configuration, serialization, and hashing mechanisms.

Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.