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 | Class and Description |
---|---|
class |
ByteArrayCacheEntrySerializer
Deprecated.
This class is deprecated and will be removed in a future release. Please use
HttpByteArrayCacheEntrySerializer for improved performance. |
class |
HttpByteArrayCacheEntrySerializer
This class implements the
HttpCacheEntrySerializer interface, which defines the contract for HTTP cache
entry serialization and deserialization. |
class |
NoopCacheEntrySerializer
HttpCacheEntrySerializer that uses HttpCacheStorageEntry
as its cache content representation. |
Constructor and Description |
---|
AbstractBinaryAsyncCacheStorage(int maxUpdateRetries,
HttpCacheEntrySerializer<byte[]> serializer) |
AbstractBinaryCacheStorage(int maxUpdateRetries,
HttpCacheEntrySerializer<byte[]> serializer) |
AbstractSerializingAsyncCacheStorage(int maxUpdateRetries,
HttpCacheEntrySerializer<T> serializer) |
AbstractSerializingCacheStorage(int maxUpdateRetries,
HttpCacheEntrySerializer<T> serializer) |
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.