K - the key typeV - the value typepublic class SynchMemoryCache<K,V> extends MemoryCache<K,V>
| Constructor and Description |
|---|
SynchMemoryCache() |
| Modifier and Type | Method and Description |
|---|---|
Map<K,V> |
getStorage()
Gets the storage.
|
protected void |
init()
Instantiates storage.
|
V |
put(K key,
V value)
Puts the object into the cache.
|
clear, clearByKey, clearByValue, get, getCache, sizepublic Map<K,V> getStorage()
MemoryCachegetStorage in class MemoryCache<K,V>protected void init()
MemoryCacheinit in class MemoryCache<K,V>Copyright © 2010-2020 Toolsverse. All Rights Reserved.