public class CacheMap extends BaseCacheMap<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,
String prefix)
Construct a CacheMap over the given MemcachedClient.
|
CacheMap(MemcachedClientIF c,
String prefix)
Construct a CacheMap over the given MemcachedClient with no expiration.
|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic CacheMap(MemcachedClientIF c, int expiration, 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, 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 © 2019. All rights reserved.