public interface MemcachedCacheEntryFactory
MemcachedCacheEntry getMemcachedCacheEntry(String storageKey, HttpCacheEntry entry)
MemcachedCacheEntryfor storing the given
HttpCacheEntryunder the given storage key. Since we are hashing storage keys into cache keys to accommodate limitations in memcached's key space, it is possible to have cache collisions. Therefore, we store the storage key along with the
HttpCacheEntryso it can be compared on retrieval and thus detect collisions.
storageKey- storage key under which the entry will be logically stored
entry- the cache entry to store
MemcachedCacheEntryready to provide a serialized representation
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.