Searched refs:isLocked (Results 1 – 3 of 3) sorted by relevance
182 final boolean isLocked() { in isLocked() method in ReentrantLock.Sync590 public boolean isLocked() { in isLocked() method in ReentrantLock591 return sync.isLocked(); in isLocked()
104 assertFalse(lock.isLocked()); in assertNotLocked()114 assertTrue(lock.isLocked()); in assertLockedBy()445 assertFalse(lock.isLocked()); in testIsLocked()447 assertTrue(lock.isLocked()); in testIsLocked()449 assertTrue(lock.isLocked()); in testIsLocked()451 assertTrue(lock.isLocked()); in testIsLocked()453 assertFalse(lock.isLocked()); in testIsLocked()458 assertTrue(lock.isLocked()); in testIsLocked()465 assertTrue(lock.isLocked()); in testIsLocked()468 assertFalse(lock.isLocked()); in testIsLocked()[all …]
665 public boolean isLocked() { return isHeldExclusively(); } in isLocked() method in ThreadPoolExecutor.Worker1847 if (w.isLocked()) in getActiveCount()1886 if (w.isLocked()) in getTaskCount()1935 if (w.isLocked()) in toString()