Searched refs:isLocked (Results 1 – 3 of 3) sorted by relevance
156 final boolean isLocked() { in isLocked() method in ReentrantLock.Sync566 public boolean isLocked() { in isLocked() method in ReentrantLock567 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 …]
636 public boolean isLocked() { return isHeldExclusively(); } in isLocked() method in ThreadPoolExecutor.Worker1818 if (w.isLocked()) in getActiveCount()1857 if (w.isLocked()) in getTaskCount()1906 if (w.isLocked()) in toString()