Searched refs:isShared (Results 1 – 5 of 5) sorted by relevance
141 public final boolean isShared() { in isShared() method in FileLock
140 assertFalse(mockLock.isShared()); in test_isShared()142 assertTrue(lock.isShared()); in test_isShared()
787 assertTrue(fileLock.isShared()); in test_lockJJZ_Shared()801 assertFalse(fileLock.isShared()); in test_lockJJZ_NotShared()815 assertTrue(fileLock.isShared()); in test_lockJJZ_Long_MAX_VALUE()995 assertTrue(fileLock.isShared()); in test_tryLockJJZ_Shared()1009 assertFalse(fileLock.isShared()); in test_tryLockJJZ_NotShared()1023 assertTrue(fileLock.isShared()); in test_tryLockJJZ_Long_MAX_VALUE()
462 final boolean isShared() { in isShared() method in AbstractQueuedSynchronizer.Node707 if (s == null || s.isShared()) in setHeadAndPropagate()1442 !s.isShared() && in apparentlyFirstQueuedIsExclusive()1554 if (!p.isShared()) { in getExclusiveQueuedThreads()1574 if (p.isShared()) { in getSharedQueuedThreads()
232 final boolean isShared() { in isShared() method in AbstractQueuedLongSynchronizer.Node477 if (s == null || s.isShared()) in setHeadAndPropagate()1212 !s.isShared() && in apparentlyFirstQueuedIsExclusive()1324 if (!p.isShared()) { in getExclusiveQueuedThreads()1344 if (p.isShared()) { in getSharedQueuedThreads()