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>
public class MutexMap<a>
- extends HashMap<a,MyMutex>
map of mutexs
- Author:
- rainer prosi
- See Also:
- Serialized Form
|
Method Summary |
MyMutex |
getCreate(a key)
get the mutex for a, create it if it doesn't exist |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
MutexMap
public MutexMap()
getCreate
public MyMutex getCreate(a key)
- get the mutex for a, create it if it doesn't exist
- Parameters:
key -
- Returns:
Copyright © 2013. All Rights Reserved.