Uses of Interface
org.junit.platform.engine.support.hierarchical.ResourceLock
-
Packages that use ResourceLock Package Description org.junit.platform.engine.support.hierarchical Support classes and base implementation for anyTestEngine
that wishes to organize test suites hierarchically based on theNode
abstraction. -
-
Uses of ResourceLock in org.junit.platform.engine.support.hierarchical
Classes in org.junit.platform.engine.support.hierarchical that implement ResourceLock Modifier and Type Class Description (package private) class
CompositeLock
(package private) class
NopLock
No-opResourceLock
implementation.(package private) class
SingleLock
Fields in org.junit.platform.engine.support.hierarchical declared as ResourceLock Modifier and Type Field Description private ResourceLock
NodeTreeWalker. globalReadLock
private ResourceLock
NodeTreeWalker. globalReadWriteLock
(package private) static ResourceLock
NopLock. INSTANCE
Fields in org.junit.platform.engine.support.hierarchical with type parameters of type ResourceLock Modifier and Type Field Description private java.util.Map<TestDescriptor,ResourceLock>
NodeExecutionAdvisor. resourceLocksByTestDescriptor
Methods in org.junit.platform.engine.support.hierarchical that return ResourceLock Modifier and Type Method Description ResourceLock
CompositeLock. acquire()
ResourceLock
NopLock. acquire()
ResourceLock
ResourceLock. acquire()
Acquire this resource lock, potentially blocking.ResourceLock
SingleLock. acquire()
(package private) ResourceLock
LockManager. getLockForResource(ExclusiveResource resource)
(package private) ResourceLock
LockManager. getLockForResources(java.util.Collection<ExclusiveResource> resources)
ResourceLock
HierarchicalTestExecutorService.TestTask. getResourceLock()
Get the resource lock of this task.(package private) ResourceLock
NodeExecutionAdvisor. getResourceLock(TestDescriptor testDescriptor)
ResourceLock
NodeTestTask. getResourceLock()
private ResourceLock
LockManager. toResourceLock(java.util.List<java.util.concurrent.locks.Lock> locks)
Methods in org.junit.platform.engine.support.hierarchical with parameters of type ResourceLock Modifier and Type Method Description (package private) void
NodeExecutionAdvisor. useResourceLock(TestDescriptor testDescriptor, ResourceLock resourceLock)
-