## Uses of Class
org.apache.hc.client5.http.impl.cache.CacheConfig

- Packages that use CacheConfig
  Package | Description
  --- | ---
  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.ehcache | Ehcache based caching backend implementation.
  org.apache.hc.client5.http.impl.cache.memcached | Memcached based caching backend implementation.

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

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

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

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

    Constructors in org.apache.hc.client5.http.impl.cache with parameters of type CacheConfig
    Constructor and Description
    `BasicHttpCacheStorage(CacheConfig config)`
    `ManagedHttpCacheStorage(CacheConfig config)`

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

    Methods in org.apache.hc.client5.http.impl.cache.ehcache with parameters of type CacheConfig
    Modifier and Type | Method and Description
    --- | ---
    `static EhcacheHttpCacheStorage<HttpCacheStorageEntry>` | EhcacheHttpCacheStorage.`createObjectCache(org.ehcache.Cache<String,HttpCacheStorageEntry> cache, CacheConfig config)` Creates cache that stores `HttpCacheStorageEntry`s without direct serialization.
    `static EhcacheHttpCacheStorage<byte[]>` | EhcacheHttpCacheStorage.`createSerializedCache(org.ehcache.Cache<String,byte[]> cache, CacheConfig config)` Creates cache that stores serialized `HttpCacheStorageEntry`s.

    Constructors in org.apache.hc.client5.http.impl.cache.ehcache with parameters of type CacheConfig
    Constructor and Description
    `EhcacheHttpCacheStorage(org.ehcache.Cache<String,T> cache, CacheConfig config, HttpCacheEntrySerializer<T> 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.hc.client5.http.impl.cache.memcached

    Constructors in org.apache.hc.client5.http.impl.cache.memcached with parameters of type CacheConfig
    Constructor and Description
    `MemcachedHttpAsyncCacheStorage(net.spy.memcached.MemcachedClient client, CacheConfig config, HttpCacheEntrySerializer<byte[]> serializer, KeyHashingScheme keyHashingScheme)` Create a storage backend using the given memcached client and applying the given cache configuration, serialization, and hashing mechanisms.
    `MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClient client, CacheConfig config, HttpCacheEntrySerializer<byte[]> serializer, KeyHashingScheme keyHashingScheme)` Create a storage backend using the given memcached client and applying the given cache configuration, serialization, and hashing mechanisms.
    `MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client, CacheConfig config, HttpCacheEntrySerializer<byte[]> serializer, 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.