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, size
public Map<K,V> getStorage()
MemoryCache
getStorage
in class MemoryCache<K,V>
protected void init()
MemoryCache
init
in class MemoryCache<K,V>
Copyright © 2010-2020 Toolsverse. All Rights Reserved.