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.
|
Modifier and Type | Field and Description |
---|---|
static CacheConfig |
CacheConfig.DEFAULT |
Modifier and Type | Method and Description |
---|---|
CacheConfig |
CacheConfig.Builder.build() |
protected CacheConfig |
CacheConfig.clone() |
Modifier and Type | Method and Description |
---|---|
static CacheConfig.Builder |
CacheConfig.copy(CacheConfig config) |
CachingH2AsyncClientBuilder |
CachingH2AsyncClientBuilder.setCacheConfig(CacheConfig cacheConfig) |
CachingHttpAsyncClientBuilder |
CachingHttpAsyncClientBuilder.setCacheConfig(CacheConfig cacheConfig) |
CachingHttpClientBuilder |
CachingHttpClientBuilder.setCacheConfig(CacheConfig cacheConfig) |
Constructor and Description |
---|
BasicHttpCacheStorage(CacheConfig config) |
ManagedHttpCacheStorage(CacheConfig config) |
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. |
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.
|
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–2021 The Apache Software Foundation. All rights reserved.