Package | Description |
---|---|
org.apache.hc.client5.http.impl.cache.memcached |
Memcached based caching backend
implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
PrefixKeyHashingScheme
This is a
KeyHashingScheme decorator that simply adds
a known prefix to the results of another KeyHashingScheme . |
class |
SHA256KeyHashingScheme
This is a
KeyHashingScheme based on the
SHA-256
algorithm. |
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.
|
PrefixKeyHashingScheme(String prefix,
KeyHashingScheme backingScheme)
Creates a new
KeyHashingScheme that prepends the given
prefix to the results of hashes from the given backing scheme. |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.