Searched refs:newReentrantLock (Results 1 – 3 of 3) sorted by relevance
62 lockA = factory.newReentrantLock("LockA"); in setUp()63 lockB = factory.newReentrantLock("LockB"); in setUp()64 lockC = factory.newReentrantLock("LockC"); in setUp()80 lock1 = factory2.newReentrantLock(MyOrder.FIRST); in setUp()81 lock2 = factory2.newReentrantLock(MyOrder.SECOND); in setUp()82 lock3 = factory2.newReentrantLock(MyOrder.THIRD); in setUp()86 lock01 = factory3.newReentrantLock(OtherOrder.FIRST); in setUp()87 lock02 = factory3.newReentrantLock(OtherOrder.SECOND); in setUp()88 lock03 = factory3.newReentrantLock(OtherOrder.THIRD); in setUp()236 .newReentrantLock("MyLock"); in testExplicitOrdering_cycleWithUnorderedLock()[all …]
49 detectingLocks[i] = factory.newReentrantLock("Lock" + i); in setUp()58 lockAndUnlock(factory.newReentrantLock("foo"), reps); in unorderedCycleDetectingLocks()
252 public ReentrantLock newReentrantLock(String lockName) { in newReentrantLock() method in CycleDetectingLockFactory253 return newReentrantLock(lockName, false); in newReentrantLock()261 public ReentrantLock newReentrantLock(String lockName, boolean fair) { in newReentrantLock() method in CycleDetectingLockFactory435 public ReentrantLock newReentrantLock(E rank) { in newReentrantLock() method in CycleDetectingLockFactory.WithExplicitOrdering436 return newReentrantLock(rank, false); in newReentrantLock()448 public ReentrantLock newReentrantLock(E rank, boolean fair) { in newReentrantLock() method in CycleDetectingLockFactory.WithExplicitOrdering