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<java.lang.String,java.lang.Integer>
-
- step.core.tables.ViewCounterMap
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,java.lang.Integer>
public class ViewCounterMap extends ThresholdMap<java.lang.String,java.lang.Integer>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewCounterMap()
ViewCounterMap(int threshold, java.lang.String defaultKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decrementForKey(java.lang.String key)
void
incrementForKey(java.lang.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
-
-