public class CacheMap extends BaseCacheMap<java.lang.Object>
Do note that nothing that iterates over the map will work (such is memcached). All iteration mechanisms will return empty iterators and such.
| Constructor and Description |
|---|
CacheMap(MemcachedClientIF c,
int expiration,
java.lang.String prefix)
Construct a CacheMap over the given MemcachedClient.
|
CacheMap(MemcachedClientIF c,
java.lang.String prefix)
Construct a CacheMap over the given MemcachedClient with no expiration.
|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuespublic CacheMap(MemcachedClientIF c, int expiration, java.lang.String prefix)
c - the clientexpiration - the expiration to set for keys written to the cacheprefix - a prefix used to make keys in this map uniquepublic CacheMap(MemcachedClientIF c, java.lang.String prefix)
Keys written into this Map will only expire when the LRU pushes them out.
c - the clientprefix - a prefix used to make keys in this map uniqueCopyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.