V
- value generationpublic interface HotDataMap<V extends java.io.Serializable>
HotDataMapConfig
was used to configure map features as mentioned in annotation.
and pls. do not create this map directly, used GroupCacheableFactory
instead.限定符和类型 | 方法和说明 |
---|---|
void |
cleanup()
remove all cache data.
|
java.util.Map<java.lang.String,V> |
get(java.util.Collection<java.lang.String> keys)
get key-value pairs by a set of key,simulate get
|
V |
get(java.lang.String key)
get value mapping the key.
|
void |
put(java.lang.String key,
V value) |
void |
remove(java.lang.String key)
remove by key
|
void put(java.lang.String key, V value)
V get(java.lang.String key)
key
- java.util.Map<java.lang.String,V> get(java.util.Collection<java.lang.String> keys)
keys
- mapping keys.void remove(java.lang.String key)
key
- void cleanup()