Class AbstractQueryingSpout.InProcessMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- com.digitalpebble.stormcrawler.persistence.AbstractQueryingSpout.InProcessMap<K,V>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<K,V>
- Enclosing class:
- AbstractQueryingSpout
public class AbstractQueryingSpout.InProcessMap<K,V> extends HashMap<K,V>
Map which holds elements some additional time after the removal.- 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 InProcessMap(long maxDuration, TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(Object key)
long
inCache()
V
remove(Object key)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
InProcessMap
public InProcessMap(long maxDuration, TimeUnit timeUnit)
-
-