Package org.antublue.test.engine.extras
Class LockManager
java.lang.Object
org.antublue.test.engine.extras.LockManager
Class to implement a LockManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic LockManagerMethod to get the singleton instanceMethod to get a ReentrantReadWriteLock.
-
Method Details
-
getInstance
Method to get the singleton instance- Returns:
- the singleton instance
-
getLock
Method to get a ReentrantReadWriteLock. Creates the ReentrantReadWriteLock if it doesn't exist.- Parameters:
name- name- Returns:
- a ReentrantReadWriteLock
-