Searched refs:getQueuedThreads (Results 1 – 10 of 10) sorted by relevance
25 public Collection<Thread> getQueuedThreads() { in getQueuedThreads() method in SemaphoreTest.PublicSemaphore26 return super.getQueuedThreads(); in getQueuedThreads()29 return super.getQueuedThreads().contains(t); in hasQueuedThread()358 assertTrue(lock.getQueuedThreads().isEmpty()); in testGetQueuedThreads()360 assertTrue(lock.getQueuedThreads().isEmpty()); in testGetQueuedThreads()363 assertTrue(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()366 assertTrue(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()367 assertTrue(lock.getQueuedThreads().contains(t2)); in testGetQueuedThreads()370 assertFalse(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()371 assertTrue(lock.getQueuedThreads().contains(t2)); in testGetQueuedThreads()[all …]
53 public Collection<Thread> getQueuedThreads() { in getQueuedThreads() method in ReentrantLockTest.PublicReentrantLock54 return super.getQueuedThreads(); in getQueuedThreads()324 assertTrue(lock.getQueuedThreads().isEmpty()); in testGetQueuedThreads()326 assertTrue(lock.getQueuedThreads().isEmpty()); in testGetQueuedThreads()329 assertEquals(1, lock.getQueuedThreads().size()); in testGetQueuedThreads()330 assertTrue(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()333 assertEquals(2, lock.getQueuedThreads().size()); in testGetQueuedThreads()334 assertTrue(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()335 assertTrue(lock.getQueuedThreads().contains(t2)); in testGetQueuedThreads()338 assertFalse(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()[all …]
54 public Collection<Thread> getQueuedThreads() { in getQueuedThreads() method in ReentrantReadWriteLockTest.PublicReentrantReadWriteLock55 return super.getQueuedThreads(); in getQueuedThreads()1356 assertTrue(lock.getQueuedThreads().isEmpty()); in testGetQueuedThreads()1358 assertTrue(lock.getQueuedThreads().isEmpty()); in testGetQueuedThreads()1361 assertEquals(1, lock.getQueuedThreads().size()); in testGetQueuedThreads()1362 assertTrue(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()1365 assertEquals(2, lock.getQueuedThreads().size()); in testGetQueuedThreads()1366 assertTrue(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()1367 assertTrue(lock.getQueuedThreads().contains(t2)); in testGetQueuedThreads()1370 assertFalse(lock.getQueuedThreads().contains(t1)); in testGetQueuedThreads()[all …]
137 Collection<Thread> actual = sync.getQueuedThreads(); in assertHasQueuedThreads()153 new HashSet<Thread>(sync.getQueuedThreads())); in assertHasExclusiveQueuedThreads()165 new HashSet<Thread>(sync.getQueuedThreads())); in assertHasSharedQueuedThreads()393 assertTrue(sync.getQueuedThreads().contains(t1)); in testGetQueuedThreads()394 assertFalse(sync.getQueuedThreads().contains(t2)); in testGetQueuedThreads()398 assertTrue(sync.getQueuedThreads().contains(t1)); in testGetQueuedThreads()399 assertTrue(sync.getQueuedThreads().contains(t2)); in testGetQueuedThreads()
140 Collection<Thread> actual = sync.getQueuedThreads(); in assertHasQueuedThreads()156 new HashSet<Thread>(sync.getQueuedThreads())); in assertHasExclusiveQueuedThreads()168 new HashSet<Thread>(sync.getQueuedThreads())); in assertHasSharedQueuedThreads()396 assertTrue(sync.getQueuedThreads().contains(t1)); in testGetQueuedThreads()397 assertFalse(sync.getQueuedThreads().contains(t2)); in testGetQueuedThreads()401 assertTrue(sync.getQueuedThreads().contains(t1)); in testGetQueuedThreads()402 assertTrue(sync.getQueuedThreads().contains(t2)); in testGetQueuedThreads()
664 protected Collection<Thread> getQueuedThreads() { in getQueuedThreads() method in Semaphore665 return sync.getQueuedThreads(); in getQueuedThreads()
644 protected Collection<Thread> getQueuedThreads() { in getQueuedThreads() method in ReentrantLock645 return sync.getQueuedThreads(); in getQueuedThreads()
1365 protected Collection<Thread> getQueuedThreads() { in getQueuedThreads() method in ReentrantReadWriteLock1366 return sync.getQueuedThreads(); in getQueuedThreads()
1533 public final Collection<Thread> getQueuedThreads() { in getQueuedThreads() method in AbstractQueuedSynchronizer
1303 public final Collection<Thread> getQueuedThreads() { in getQueuedThreads() method in AbstractQueuedLongSynchronizer