Package org.apache.hc.client5.http.impl.cache.memcached
package org.apache.hc.client5.http.impl.cache.memcached
Memcached based caching backend
implementation.
-
ClassDescriptionSince the
HttpCacheStorageinterface expects to use variant-annotated URLs for its storage keys, but Memcached has a maximum key size, we need to support mapping storage keys to cache keys.This class is a storage backend that uses an external memcached for storing cached origin responses.This class is a storage backend that uses an external memcached for storing cached origin responses.Signals a problem encountered when trying to map a logical "storage key" to a "cache key" suitable for use with memcached.Signals memcached operation timeout.This is aKeyHashingSchemedecorator that simply adds a known prefix to the results of anotherKeyHashingScheme.This is aKeyHashingSchemebased on the SHA-256 algorithm.