public abstract class MemoryOneToOneCache<K,V> extends java.lang.Object implements OneToOneCache<K,V>
构造器和说明 |
---|
MemoryOneToOneCache() |
限定符和类型 | 方法和说明 |
---|---|
void |
close()
清除相关资源
|
boolean |
containsKey(K key) |
V |
get(K key)
根据唯一键获取数据
|
java.util.Iterator<Entry<K,V>> |
iterator() |
void |
put(K key,
V value)
存储
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getByPrimary
public V get(K key)
OneToOneCache
get
在接口中 OneToOneCache<K,V>
public boolean containsKey(K key)
containsKey
在接口中 SyncCache<K,V>