程序包 tech.riemann.etp
类 CacheMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
tech.riemann.etp.CacheMap<K,V>
- 类型参数:
K-V-
- 所有已实现的接口:
Map<K,V>
- 作者:
- Kerbores(kerbores@riemann.tech)
-
嵌套类概要
从类继承的嵌套类/接口 java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
构造器概要
构造器 -
方法概要
从类继承的方法 java.util.AbstractMap
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, toString, values从接口继承的方法 java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
构造器详细资料
-
CacheMap
public CacheMap(long timeout)
-
-
方法详细资料
-
getDefault
-
entrySet
-
get
根据给定的键从缓存中获取值 -
put
向缓存中添加一个键值对。 -
equals
-
hashCode
public int hashCode()
-