Package step.core.tables
Class ViewCounterMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- step.core.collections.serialization.DottedKeyMap<K,V>
-
- step.core.tables.ThresholdMap<String,Integer>
-
- step.core.tables.ViewCounterMap
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Integer>
public class ViewCounterMap extends ThresholdMap<String,Integer>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description ViewCounterMap()
ViewCounterMap(int threshold, String defaultKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decrementForKey(String key)
void
incrementForKey(String key)
-
Methods inherited from class step.core.tables.ThresholdMap
get, put
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-