Package org.cip4.jdflib.util.thread
Class MutexMap<a>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<a,MyMutex>
org.cip4.jdflib.util.thread.MutexMap<a>
- Type Parameters:
a-
- All Implemented Interfaces:
Serializable,Cloneable,Map<a,MyMutex>
map of mutexs
- See Also:
-
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 -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
MutexMap
public MutexMap()
-
-
Method Details
-
getCreate
get the mutex for a, create it if it doesn't exist- Parameters:
key-- Returns:
-