Class LockManager
java.lang.Object
org.junit.platform.engine.support.hierarchical.LockManager
- Since:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Comparator
<ExclusiveResource> private final Map
<String, ReadWriteLock> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDistinctSortedLocks
(Collection<ExclusiveResource> resources) (package private) ResourceLock
getLockForResource
(ExclusiveResource resource) (package private) ResourceLock
getLockForResources
(Collection<ExclusiveResource> resources) private static Comparator
<String> private Lock
toLock
(ExclusiveResource resource) private ResourceLock
toResourceLock
(List<Lock> locks)
-
Field Details
-
COMPARATOR
-
locksByKey
-
-
Constructor Details
-
LockManager
LockManager()
-
-
Method Details
-
globalKeyFirst
-
getLockForResources
-
getLockForResource
-
getDistinctSortedLocks
-
toLock
-
toResourceLock
-