Package dev.aherscu.qa.testing.extra
Class LockingUtils
- java.lang.Object
-
- dev.aherscu.qa.testing.extra.LockingUtils
-
public class LockingUtils extends Object
Based on http://tutorials.jenkov.com/java-concurrency/read-write-locks.html#simpleAllows for multiple writers.
-
-
Constructor Summary
Constructors Constructor Description LockingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
readLocking(Runnable c)
static void
writeLocking(Runnable c)
-