Searched refs:isLocked (Results 1 – 3 of 3) sorted by relevance
153 final boolean isLocked() { in isLocked() method in ReentrantLock.Sync561 public boolean isLocked() { in isLocked() method in ReentrantLock562 return sync.isLocked(); in isLocked()
103 assertFalse(lock.isLocked()); in assertNotLocked()113 assertTrue(lock.isLocked()); in assertLockedBy()443 assertFalse(lock.isLocked()); in testIsLocked()445 assertTrue(lock.isLocked()); in testIsLocked()447 assertTrue(lock.isLocked()); in testIsLocked()449 assertTrue(lock.isLocked()); in testIsLocked()451 assertFalse(lock.isLocked()); in testIsLocked()456 assertTrue(lock.isLocked()); in testIsLocked()463 assertTrue(lock.isLocked()); in testIsLocked()466 assertFalse(lock.isLocked()); in testIsLocked()[all …]
617 public boolean isLocked() { return isHeldExclusively(); } in isLocked() method in ThreadPoolExecutor.Worker1787 if (w.isLocked()) in getActiveCount()1826 if (w.isLocked()) in getTaskCount()1875 if (w.isLocked()) in toString()