Package | Description |
---|---|
org.apache.http.impl.client.cache.memcached |
This package contains a storage backend based on
memcached
that can be plugged into
a
CachingHttpClient and
used for storing cache entries. |
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 |
---|
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
CacheConfig config,
MemcachedCacheEntryFactory memcachedCacheEntryFactory,
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 © 2010–2022 The Apache Software Foundation. All rights reserved.