Class MaxSizeHashMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,java.util.concurrent.ExecutorService>
-
- com.netgrif.application.engine.elastic.service.MaxSizeHashMap
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.util.concurrent.ExecutorService>
public class MaxSizeHashMap extends java.util.LinkedHashMap<java.lang.String,java.util.concurrent.ExecutorService>- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.ExecutorServiceget(java.lang.Object o)protected booleanremoveEldestEntry(java.util.Map.Entry<java.lang.String,java.util.concurrent.ExecutorService> eldest)-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, getOrDefault, keySet, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
removeEldestEntry
protected boolean removeEldestEntry(java.util.Map.Entry<java.lang.String,java.util.concurrent.ExecutorService> eldest)
- Overrides:
removeEldestEntryin classjava.util.LinkedHashMap<java.lang.String,java.util.concurrent.ExecutorService>
-
get
public java.util.concurrent.ExecutorService get(java.lang.Object o)
- Specified by:
getin interfacejava.util.Map<java.lang.String,java.util.concurrent.ExecutorService>- Overrides:
getin classjava.util.LinkedHashMap<java.lang.String,java.util.concurrent.ExecutorService>
-
-