Package fr.becpg.util
Class MutexFactory
java.lang.Object
fr.becpg.util.MutexFactory
MutexFactory class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.springframework.util.ConcurrentReferenceHashMap<String,ReentrantLock> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMutex.voidremoveMutex(String key, Object value) removeMutex.
-
Field Details
-
map
-
-
Constructor Details
-
MutexFactory
public MutexFactory()Constructor for MutexFactory.
-
-
Method Details
-
getMutex
getMutex.
- Parameters:
key- aStringobject- Returns:
- a
ReentrantLockobject
-
removeMutex
removeMutex.
-