# Package org.apache.hc.client5.http.impl.cache.memcached

Memcached based caching backend implementation.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  KeyHashingScheme | Since the `HttpCacheStorage` interface 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.

- Class Summary
  Class | Description
  --- | ---
  MemcachedHttpAsyncCacheStorage | This class is a storage backend that uses an external memcached for storing cached origin responses.
  MemcachedHttpCacheStorage | This class is a storage backend that uses an external memcached for storing cached origin responses.
  PrefixKeyHashingScheme | This is a `KeyHashingScheme` decorator that simply adds a known prefix to the results of another `KeyHashingScheme`.
  SHA256KeyHashingScheme | This is a `KeyHashingScheme` based on the SHA-256 algorithm.

- Exception Summary
  Exception | Description
  --- | ---
  MemcachedKeyHashingException | Signals a problem encountered when trying to map a logical "storage key" to a "cache key" suitable for use with memcached.
  MemcachedOperationCancellationException | Signals memcached operation cancellation.
  MemcachedOperationTimeoutException | Signals memcached operation timeout.

## Package org.apache.hc.client5.http.impl.cache.memcached Description

Memcached based caching backend implementation.

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